lix/src
Eelco Dolstra 4494000e04 LocalStore: Allow the physical and logical store directories to differ
This is primarily to subsume the functionality of the
copy-from-other-stores substituter. For example, in the NixOS
installer, we can now do (assuming we're in the target chroot, and the
Nix store of the installation CD is bind-mounted on /tmp/nix):

  $ nix-build ... --option substituters 'local?state=/tmp/nix/var&real=/tmp/nix/store'

However, unlike copy-from-other-stores, this also allows write access
to such a store. One application might be fetching substitutes for
/nix/store in a situation where the user doesn't have sufficient
privileges to create /nix, e.g.:

  $ NIX_REMOTE="local?state=/home/alice/nix/var&real=/home/alice/nix/store" nix-build ...
2016-06-02 16:02:48 +02:00
..
boost Force stack trace for boost format errors 2016-03-02 15:46:07 +01:00
download-via-ssh More cleanup 2015-07-20 01:16:16 +02:00
libexpr Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
libmain Show the log tail when a build fails 2016-04-25 19:18:45 +02:00
libstore LocalStore: Allow the physical and logical store directories to differ 2016-06-02 16:02:48 +02:00
libutil Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
nix Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
nix-collect-garbage Eliminate reserveSpace flag 2016-02-24 17:44:55 +01:00
nix-daemon Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
nix-env Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
nix-instantiate Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
nix-prefetch-url Make the store directory a member variable of Store 2016-06-01 16:24:17 +02:00
nix-store Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00