Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- md:~ maarten$ nix-channel --update
- downloading Nix expressions from `http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable//nixexprs.tar.bz2'...
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 3465k 100 3465k 0 0 857k 0 0:00:04 0:00:04 --:--:-- 942k
- error: creating directory `/nix/var/nix/db/info': Permission denied
- cannot fetch `http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable//nixexprs.tar.bz2' at /usr/local/bin/nix-channel line 114.
- md:nix-0.16 maarten$ nix-env -i hello
- installing `hello-2.7'
- don't know how to build the following paths (may be caused by read-only store access):
- /nix/store/w5yi35kn33565lh7lgn3ldjxwg2sg2q8-hello-2.7.drv
- error: cannot build derivation `/nix/store/w5yi35kn33565lh7lgn3ldjxwg2sg2q8-hello-2.7.drv' - no write access to the Nix store
- md:nix-0.16 maarten$ sudo nix-env -i hello
- Password:
- installing `hello-2.7'
- ...lots of output...
- checking whether mknod can create fifo without root privileges... configure: error: in `/private/tmp/nix-build-016anfy1ddnzsfxnnap7ff40ys3wbr48-gnutar-1.25.drv-0/tar-1.25':
- configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
- See `config.log' for more details.
- \e[q\e[qbuilder for `/nix/store/016anfy1ddnzsfxnnap7ff40ys3wbr48-gnutar-1.25.drv' failed with exit code 1
- cannot build derivation `/nix/store/cwvjh9lcnnkprrlq0vqchcyfa58ipcni-stdenv-nix.drv': 1 dependencies couldn't be built
- cannot build derivation `/nix/store/w5yi35kn33565lh7lgn3ldjxwg2sg2q8-hello-2.7.drv': 1 dependencies couldn't be built
- error: build of `/nix/store/w5yi35kn33565lh7lgn3ldjxwg2sg2q8-hello-2.7.drv' failed
- md:nix-0.16 maarten$ export FORCE_UNSAFE_CONFIGURE=1
- md:nix-0.16 maarten$ sudo nix-env -i hello
- Password:
- installing `hello-2.7'
- ...lots of output...
- checking whether mknod can create fifo without root privileges... configure: error: in `/private/tmp/nix-build-016anfy1ddnzsfxnnap7ff40ys3wbr48-gnutar-1.25.drv-0/tar-1.25':
- configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
- See `config.log' for more details.
- \e[q\e[qbuilder for `/nix/store/016anfy1ddnzsfxnnap7ff40ys3wbr48-gnutar-1.25.drv' failed with exit code 1
- cannot build derivation `/nix/store/cwvjh9lcnnkprrlq0vqchcyfa58ipcni-stdenv-nix.drv': 1 dependencies couldn't be built
- cannot build derivation `/nix/store/w5yi35kn33565lh7lgn3ldjxwg2sg2q8-hello-2.7.drv': 1 dependencies couldn't be built
- error: build of `/nix/store/w5yi35kn33565lh7lgn3ldjxwg2sg2q8-hello-2.7.drv' failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement