bootStage1: fix cross build (@matthewbauer's solution)
This commit is contained in:
parent
9dd5dc57a7
commit
b3dff39105
@ -252,9 +252,8 @@ let
|
|||||||
echo checking syntax
|
echo checking syntax
|
||||||
# check both with bash
|
# check both with bash
|
||||||
${pkgs.buildPackages.bash}/bin/sh -n $target
|
${pkgs.buildPackages.bash}/bin/sh -n $target
|
||||||
'' + optionalString (pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform) ''
|
|
||||||
# and with ash shell, just in case
|
# and with ash shell, just in case
|
||||||
${extraUtils}/bin/ash -n $target
|
${pkgs.buildPackages.busybox}/bin/ash -n $target
|
||||||
'';
|
'';
|
||||||
|
|
||||||
inherit udevRules extraUtils modulesClosure;
|
inherit udevRules extraUtils modulesClosure;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user