about summary refs log tree commit diff
path: root/tests/run.sh
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2017-12-31T03·29-0600
committerWill Dietz <w@wdtz.org>2017-12-31T04·41-0600
commit5afee18726ce8241d56ea9690f228923441a8ea8 (patch)
tree53529f645fd7d4b7c318cac10381e587361d8a67 /tests/run.sh
parent6a0dd635084213bf75c1f36bc9bc38d242096e65 (diff)
run.sh: include lib64 in sandbox-paths to fix on ubuntu 16.XX
(cc #1769)
Diffstat (limited to 'tests/run.sh')
-rw-r--r--tests/run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 784d29183cf3..194e767dd05d 100644
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -18,10 +18,10 @@ if [[ $(uname) = Linux ]]; then
     # Note: we need the sandbox paths to ensure that the shell is
     # visible in the sandbox.
     nix run --sandbox-build-dir /build-tmp \
-        --sandbox-paths '/nix? /bin? /lib? /usr?' \
+        --sandbox-paths '/nix? /bin? /lib? /lib64? /usr?' \
         --store $TEST_ROOT/store0 -f run.nix hello -c hello | grep 'Hello World'
 
-    path2=$(nix run --sandbox-paths '/nix? /bin? /lib? /usr?' --store $TEST_ROOT/store0 -f run.nix hello -c $SHELL -c 'type -p hello')
+    path2=$(nix run --sandbox-paths '/nix? /bin? /lib? /lib64? /usr?' --store $TEST_ROOT/store0 -f run.nix hello -c $SHELL -c 'type -p hello')
 
     [[ $path/bin/hello = $path2 ]]