bootStage1: fix cross build

This commit is contained in:
volth 2018-10-12 00:45:59 +00:00 committed by GitHub
parent 60ae563293
commit 9dd5dc57a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,7 +251,8 @@ let
postInstall = ''
echo checking syntax
# 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
${extraUtils}/bin/ash -n $target
'';