3
0
Fork 0
forked from mirrors/nixpkgs

bootStage1: fix cross build (@matthewbauer's solution)

(cherry picked from commit b3dff39105)
This commit is contained in:
volth 2018-10-12 09:24:00 +00:00 committed by Ben Gamari
parent e1fbfca6e0
commit eb1dc551af

View file

@ -252,9 +252,8 @@ let
echo checking syntax
# check both with bash
${pkgs.buildPackages.bash}/bin/sh -n $target
'' + optionalString (pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform) ''
# and with ash shell, just in case
${extraUtils}/bin/ash -n $target
${pkgs.buildPackages.busybox}/bin/ash -n $target
'';
inherit udevRules extraUtils modulesClosure;