on master help sign in
Merge pull request #42 from input-output-hk/add-shebang
e65faadMatthew Bauer
default.nix+2−1
@@ -70,7 +70,8 @@ in rec {
70
70
71 makeStartup = { target, nixUserChrootFlags, nix-user-chroot', run }:
71 makeStartup = { target, nixUserChrootFlags, nix-user-chroot', run }:
72 writeScript "startup" ''
72 writeScript "startup" ''
73+ #!/bin/sh
73−.${nix-user-chroot'}/bin/nix-user-chroot -n ./nix ${nixUserChrootFlags} -- ${target}${run} $@
74+ .${nix-user-chroot'}/bin/nix-user-chroot -n ./nix ${nixUserChrootFlags} -- ${target}${run} $@
74 '';
75 '';
75
76
76 nix-bootstrap = { target, extraTargets ? [], run, nix-user-chroot' ? nix-user-chroot, nixUserChrootFlags ? "" }:
77 nix-bootstrap = { target, extraTargets ? [], run, nix-user-chroot' ? nix-user-chroot, nixUserChrootFlags ? "" }: