3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
volth 2018-10-12 09:24:00 +00:00 committed by GitHub
parent 9dd5dc57a7
commit b3dff39105
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;