| 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 ... | ||
|---|---|---|
| .. | ||
| build-remote.pl.in | ||
| download-from-binary-cache.pl.in | ||
| find-runtime-roots.pl.in | ||
| install-nix-from-closure.sh | ||
| local.mk | ||
| nix-build.in | ||
| nix-channel.in | ||
| nix-copy-closure.in | ||
| nix-http-export.cgi.in | ||
| nix-install-package.in | ||
| nix-profile.sh.in | ||
| nix-push.in | ||
| nix-reduce-build.in | ||
| resolve-system-dependencies.pl.in | ||
| show-duplication.pl | ||