diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-10-24 15:16:18 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-10-24 15:32:38 +0200 |
commit | d16fd2497374671c92cb877f9570d65783a77d99 (patch) | |
tree | ce2a871f4d9e5a65108768f1f8584cd545cbd6ac /tests/linux-sandbox.sh | |
parent | 3460e4cf007017e89096b4fad083692666b87a20 (diff) |
Allow shorter syntax for chroot stores
You can now say '--store /tmp/nix' instead of '--store local?root=/tmp/nix'.
Diffstat (limited to 'tests/linux-sandbox.sh')
-rw-r--r-- | tests/linux-sandbox.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/linux-sandbox.sh b/tests/linux-sandbox.sh index 7f4e83b56..0691c30be 100644 --- a/tests/linux-sandbox.sh +++ b/tests/linux-sandbox.sh @@ -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) |