Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
bootStage1: fix cross build (@matthewbauer's solution)
Browse files Browse the repository at this point in the history
  • Loading branch information
volth committed Oct 12, 2018
1 parent 9dd5dc5 commit b3dff39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nixos/modules/system/boot/stage-1.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b3dff39

Please sign in to comment.