Hi,
I built Nix from source with
./configure --prefix=${FAKEROOT} --with-store-dir=${FAKEROOT}/nix/store
But when I run nix-daemon
I get
error: creating directory '/nix': Permission denied
So it seems somewhere the prefix is not taken into account where it should be. Unfortunately I haven’t yet been able to work out where in the daemon startup sequence this problem originates. There are several source locations for that error message, but none in any obvious way related to the daemon startup. (My C+±Fu is not very strong I have to admit.)
So I have two questions:
- Does anyone have a suggestion for what to look at?
- Can anyone confirm that building with
--with-prefix
(and--with-store-dir
) actually works?
Thanks.