forked from rarias/jungle
Use nix bwrap in nix-portable
This commit is contained in:
@@ -378,7 +378,6 @@ let
|
|||||||
|
|
||||||
### select container runtime
|
### select container runtime
|
||||||
debug "figuring out which runtime to use"
|
debug "figuring out which runtime to use"
|
||||||
[ -z "\$NP_BWRAP" ] && NP_BWRAP=\$(PATH="\$PATH_OLD:\$PATH" which bwrap 2>/dev/null) || true
|
|
||||||
[ -z "\$NP_BWRAP" ] && NP_BWRAP=\$dir/bin/bwrap
|
[ -z "\$NP_BWRAP" ] && NP_BWRAP=\$dir/bin/bwrap
|
||||||
debug "bwrap executable: \$NP_BWRAP"
|
debug "bwrap executable: \$NP_BWRAP"
|
||||||
[ -z "\$NP_NIX" ] && NP_NIX=\$dir/bin/nix
|
[ -z "\$NP_NIX" ] && NP_NIX=\$dir/bin/nix
|
||||||
|
|||||||
Reference in New Issue
Block a user