@@ -70,7 +70,8 @@ in rec {
7070
7171 makeStartup = { target, nixUserChrootFlags, nix-user-chroot', run }:
7272 writeScript "startup" ''
73−.${nix-user-chroot'}/bin/nix-user-chroot -n ./nix ${nixUserChrootFlags} -- ${target}${run} $@
73+ #!/bin/sh
74+ .${nix-user-chroot'}/bin/nix-user-chroot -n ./nix ${nixUserChrootFlags} -- ${target}${run} $@
7475 '';
7576
7677 nix-bootstrap = { target, extraTargets ? [], run, nix-user-chroot' ? nix-user-chroot, nixUserChrootFlags ? "" }: