bootStage1: fix cross build
This commit is contained in:
parent
60ae563293
commit
9dd5dc57a7
@ -251,7 +251,8 @@ let
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
echo checking syntax
|
echo checking syntax
|
||||||
# check both with bash
|
# check both with bash
|
||||||
${pkgs.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
|
${extraUtils}/bin/ash -n $target
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user