Use nix bwrap in nix-portable

This commit is contained in:
2026-03-06 12:45:36 +01:00
parent ccaaeb0d2f
commit 4bb55ab96b

View File

@@ -378,7 +378,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