mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Allow shorter syntax for chroot stores
You can now say '--store /tmp/nix' instead of '--store local?root=/tmp/nix'.
This commit is contained in:
parent
3460e4cf00
commit
d16fd24973
5 changed files with 23 additions and 11 deletions
|
@ -14,7 +14,7 @@ chmod -R u+w $TEST_ROOT/store0 || true
|
|||
rm -rf $TEST_ROOT/store0
|
||||
|
||||
export NIX_STORE_DIR=/my/store
|
||||
export NIX_REMOTE="local?root=$TEST_ROOT/store0"
|
||||
export NIX_REMOTE=$TEST_ROOT/store0
|
||||
|
||||
outPath=$(nix-build dependencies.nix --no-out-link --option sandbox-paths /nix/store)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue