mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
bootStage1: fix cross build
This commit is contained in:
parent
60ae563293
commit
9dd5dc57a7
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user