mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Linux sandbox: Fix compatibility with older kernels
This commit is contained in:
parent
ebfceeb333
commit
00b286275c
2 changed files with 24 additions and 16 deletions
|
@ -16,7 +16,7 @@ rm -rf $TEST_ROOT/store0
|
|||
export NIX_STORE_DIR=/my/store
|
||||
export NIX_REMOTE="local?root=$TEST_ROOT/store0"
|
||||
|
||||
outPath=$( nix-build dependencies.nix --no-out-link --option build-sandbox-paths /nix/store)
|
||||
outPath=$(nix-build dependencies.nix --no-out-link --option build-sandbox-paths /nix/store)
|
||||
|
||||
[[ $outPath =~ /my/store/.*-dependencies ]]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue