git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #48245 from volth/patch-258

bootStage1: fix cross build

commit6bd73e860bebf6088476f6a6ec8f083d2a5a22d1 authorJörg Thalheim <Mic92@users.noreply.github.com> dateFri 12 Oct 2018, 14:42 (8 years ago) parente6e25bdb3dff39
1 file changed+2−2
nixos/modules/system/boot/stage-1.nix+2−2
nixos/modules/system/boot/stage-1.nix+2−2
@@ -251,9 +251,9 @@ let
251251 postInstall = ''
252252 echo checking syntax
253253 # check both with bash
254− ${pkgs.bash}/bin/sh -n $target
254+ ${pkgs.buildPackages.bash}/bin/sh -n $target
255255 # and with ash shell, just in case
256− ${extraUtils}/bin/ash -n $target
256+ ${pkgs.buildPackages.busybox}/bin/ash -n $target
257257 '';
258258
259259 inherit udevRules extraUtils modulesClosure;