[Nix-dev] changine configure --prefix=... doesn't move /nix/var

Erick Tryzelaar idadesub at users.sourceforge.net
Fri Dec 19 23:32:20 CET 2008


I was trying to install nix in a separate directory, but configure
seems to insist that /nix/var is in the root directory at /nix/var.
The default functionality removed by this statement in configure:

# State should be stored in /nix/var, unless the user overrides it explicitly.
test "$localstatedir" = '${prefix}/var' && localstatedir=/nix/var

Is there a reason why this has been done?



More information about the nix-dev mailing list