on master help sign in
fix argument forwarding
cc47fa3zimbatm
default.nix+1−1
@@ -73,7 +73,7 @@ in rec {
73 makeStartup = { target, nixUserChrootFlags, nix-user-chroot', run }:
73 makeStartup = { target, nixUserChrootFlags, nix-user-chroot', run }:
74 writeScript "startup" ''
74 writeScript "startup" ''
75 #!/bin/sh
75 #!/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} "$@"
77 '';
77 '';
78
78
79 nix-bootstrap = { target, extraTargets ? [], run, nix-user-chroot' ? nix-user-chroot, nixUserChrootFlags ? "" }:
79 nix-bootstrap = { target, extraTargets ? [], run, nix-user-chroot' ? nix-user-chroot, nixUserChrootFlags ? "" }: