diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2018-01-02 11:32:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-02 11:32:18 +0100 |
commit | f68c2b5a78aa33f899ce9aa354bb1c95ed0612ce (patch) | |
tree | 017c0bec6415649a7ad3f7c6740ebdaa005bfe78 | |
parent | 9b67f234c9b6d7496a49dc4d93fd7a51a727d52d (diff) | |
parent | 5afee18726ce8241d56ea9690f228923441a8ea8 (diff) |
Merge pull request #1770 from dtzWill/fix/run-test-sandbox-ubuntu
run.sh: include lib64 in sandbox-paths to fix on ubuntu 16.XX
-rw-r--r-- | tests/run.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run.sh b/tests/run.sh index 784d29183..194e767dd 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 ]] |