Last active
July 11, 2020 20:57
-
-
Save LnL7/8999c0f25b1eb74719b13d4d9eeed6cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -it -v /nix:/nix:ro busybox ~ peach | |
/ # adduser foo -u 1024 | |
/ # su - foo | |
~ $ NIX_SSL_CERT_FILE=/nix/var/nix/profiles/system/etc/ssl/certs/ca-certificates.crt /nix/var/nix/profiles/system/sw/bin/nix-build channel:nixpkgs-unstable -A hello --store daemon | |
/ # adduser bar -u 1000 | |
/ # su - bar | |
~ $ NIX_SSL_CERT_FILE=/nix/var/nix/profiles/system/etc/ssl/certs/ca-certificates.crt /nix/var/nix/profiles/system/sw/bin/nix-build channel:nixpkgs-unstable -A hello --store daemon | |
nix-daemon[4030]: accepted connection from pid 4753, user 1024 | |
nix-daemon[4030]: accepted connection from pid 28472, user lnl (trusted) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment