Add a "root" parameter to local stores
This makes it easier to create a diverted store, i.e. NIX_REMOTE="local?root=/tmp/root" instead of NIX_REMOTE="local?real=/tmp/root/nix/store&state=/tmp/root/nix/var/nix" NIX_LOG_DIR=/tmp/root/nix/var/log
Showing
- src/libstore/build.cc 1 addition, 1 deletionsrc/libstore/build.cc
- src/libstore/local-fs-store.cc 3 additions, 1 deletionsrc/libstore/local-fs-store.cc
- src/libstore/local-store.cc 1 addition, 1 deletionsrc/libstore/local-store.cc
- src/libstore/store-api.hh 2 additions, 0 deletionssrc/libstore/store-api.hh
- src/nix-store/nix-store.cc 6 additions, 2 deletionssrc/nix-store/nix-store.cc
Loading
Please register or sign in to comment