mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-09-11 06:55:53 +03:00
Merge pull request #42 from input-output-hk/add-shebang
fix the startup script to run on dash based systems
This commit is contained in:
commit
e65faad14f
@ -70,7 +70,8 @@ in rec {
|
||||
|
||||
makeStartup = { target, nixUserChrootFlags, nix-user-chroot', run }:
|
||||
writeScript "startup" ''
|
||||
.${nix-user-chroot'}/bin/nix-user-chroot -n ./nix ${nixUserChrootFlags} -- ${target}${run} $@
|
||||
#!/bin/sh
|
||||
.${nix-user-chroot'}/bin/nix-user-chroot -n ./nix ${nixUserChrootFlags} -- ${target}${run} $@
|
||||
'';
|
||||
|
||||
nix-bootstrap = { target, extraTargets ? [], run, nix-user-chroot' ? nix-user-chroot, nixUserChrootFlags ? "" }:
|
||||
|
Loading…
Reference in New Issue
Block a user