[Nix-dev] [***SPAM***] Nix user permissions
Marc Weber
marco-oweber at gmx.de
Fri Apr 9 15:52:49 CEST 2010
> error: opening lock file `/nix/var/nix/profiles/default.lock':
> / Rickard
Hi Rickard,
can you run strace -o /tmp/file -f nix-env -i ...
If the Nix daemon is used this trace file should not contain any access
to default.lock (my nix-env run didn't contain this line)
So if it does double check that NIX_REMOTE=daemon is exported
This just worked for me in the past. So I may be mistaken.
Also ensure that the directory
/nix/var/nix/profiles exists.
Marc Weber
More information about the nix-dev
mailing list