Hi David,

 > Is there some compelling reason why the location of the nix store is
 > fixed at compile time [...]?

the path can be changed at run-time by means of $NIX_STORE_DIR, etc. The
manual at

  http://hydra.nixos.org/build/326788/download/1/manual/#sec-common-env

has a complete list of variables that might be of interest.

However, it is not possible to move stores around as you please, because
that path is part of all the hashes that make up the paths in the store.
If you change the store path, all contents must be rebuilt. It is
possible to do trickery with symlinks to some extend, though.

Take care,
Peter

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to