Skip to content

Commit

Permalink
coreboot: make Ada support optional
Browse files Browse the repository at this point in the history
Ada support keeps breaking due to gnat being in a somewhat poor state
in nixpkgs. As Ada support is only necessary for some Intel drivers
and these are generally not required for using coreboot in a VM, make
Ada support optional.
  • Loading branch information
blitz committed Aug 23, 2022
1 parent 4688d3e commit 0854793
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/tools/misc/coreboot-toolchain/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ let
, getopt
, git
, gnat11
, gcc
, lib
, perl
, stdenvNoCC
, zlib
, withAda ? true
}:

stdenvNoCC.mkDerivation rec {
Expand All @@ -33,7 +35,7 @@ let
};

nativeBuildInputs = [ bison curl git perl ];
buildInputs = [ flex gnat11 zlib ];
buildInputs = [ flex zlib (if withAda then gnat11 else gcc) ];

enableParallelBuilding = true;
dontConfigure = true;
Expand Down

0 comments on commit 0854793

Please sign in to comment.