on master help sign in
fix argument forwarding

If the argument had a whitespace, it would be forwarded as two separate arguments. Eg: ./hello -g "hello world!"

commitcc47fa353c2e58740b6a08de6139866d6ded5acd authorzimbatm <zimbatm@zimbatm.com> dateThu 22 Oct 2020, 16:06 (6 years ago) parentb90d88d
1 file changed+1−1
default.nix+1−1
default.nix+1−1
@@ -73,7 +73,7 @@ in rec {
7373 makeStartup = { target, nixUserChrootFlags, nix-user-chroot', run }:
7474 writeScript "startup" ''
7575 #!/bin/sh
76− .${nix-user-chroot'}/bin/nix-user-chroot -n ./nix ${nixUserChrootFlags} -- ${target}${run} $@
76+ .${nix-user-chroot'}/bin/nix-user-chroot -n ./nix ${nixUserChrootFlags} -- ${target}${run} "$@"
7777 '';
7878
7979 nix-bootstrap = { target, extraTargets ? [], run, nix-user-chroot' ? nix-user-chroot, nixUserChrootFlags ? "" }: