Bind /usr/bin/env in nix-portable

This commit is contained in:
2026-03-06 12:46:29 +01:00
parent 0cff2a317b
commit 8c079d926c

View File

@@ -341,6 +341,7 @@ let
toBind="\$toBind \$dir/busybox/bin /bin"
# provide /bin/sh via the shipped busybox
toBind="\$toBind \$dir/busybox/bin/busybox /bin/sh"
toBind="\$toBind \$dir/busybox/bin/busybox /usr/bin/env"
toBind="\$toBind \$dir/bin/bash /bin/bash"
# on termux, make sure termux packages still work inside the nix-portable environment