mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
coreboot: make Ada support optional
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.
This commit is contained in:
parent
4688d3efc8
commit
0854793542
@ -9,10 +9,12 @@ let
|
||||
, getopt
|
||||
, git
|
||||
, gnat11
|
||||
, gcc
|
||||
, lib
|
||||
, perl
|
||||
, stdenvNoCC
|
||||
, zlib
|
||||
, withAda ? true
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user