mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
Merge pull request #175709 from NixOS/backport-175700-to-release-22.05
[Backport release-22.05] cvc4: fix build on darwin
This commit is contained in:
@@ -14,14 +14,14 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
buildInputs = [ gmp git python3.pkgs.toml cln readline swig libantlr3c antlr3_4 boost jdk python3 ];
|
||||
buildInputs = [ gmp git python3.pkgs.toml readline swig libantlr3c antlr3_4 boost jdk python3 ]
|
||||
++ lib.optionals (!stdenv.isDarwin) [ cln ];
|
||||
configureFlags = [
|
||||
"--enable-language-bindings=c,c++,java"
|
||||
"--enable-gpl"
|
||||
"--with-cln"
|
||||
"--with-readline"
|
||||
"--with-boost=${boost.dev}"
|
||||
];
|
||||
] ++ lib.optionals (!stdenv.isDarwin) [ "--with-cln" ];
|
||||
|
||||
prePatch = ''
|
||||
patch -p1 -i ${./minisat-fenv.patch} -d src/prop/minisat
|
||||
|
||||
Reference in New Issue
Block a user