mirror of
https://github.com/ilyakooo0/nix-bundle.git
synced 2024-10-26 08:42:01 +03:00
fix argument forwarding
If the argument had a whitespace, it would be forwarded as two separate arguments. Eg: ./hello -g "hello world!"
This commit is contained in:
parent
b90d88d50f
commit
cc47fa353c
@ -73,7 +73,7 @@ in rec {
|
||||
makeStartup = { target, nixUserChrootFlags, nix-user-chroot', run }:
|
||||
writeScript "startup" ''
|
||||
#!/bin/sh
|
||||
.${nix-user-chroot'}/bin/nix-user-chroot -n ./nix ${nixUserChrootFlags} -- ${target}${run} $@
|
||||
.${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