Use nix bwrap in nix-portable

This commit is contained in:
2026-03-06 12:45:36 +01:00
parent a571b7304b
commit 6fc08b5c5d

View File

@@ -375,7 +375,6 @@ let
### select container runtime
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
debug "bwrap executable: \$NP_BWRAP"
[ -z "\$NP_NIX" ] && NP_NIX=\$dir/bin/nix