forked from mirrors/nixpkgs
bootStage1: fix cross build (@matthewbauer's solution)
(cherry picked from commit b3dff39105
)
This commit is contained in:
parent
e1fbfca6e0
commit
eb1dc551af
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue