summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2022-05-31 23:39:41 -0700
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-06-01 08:14:57 +0000
commitd0a23aa650f35808d628eaf96a187c3f5ff3bc69 (patch)
tree2aa7ba30fa804f63b639ae7cf8ac22c26c6939cc
parentterraform: 1.2.0 -> 1.2.1 (#175701) (diff)
downloadnixpkgs-d0a23aa650f35808d628eaf96a187c3f5ff3bc69.tar.gz
cvc4: fix build on darwin
Dependency on cln is optional (cherry picked from commit 583a2312e44b658ac86cba2cd94f4c2014392716)
-rw-r--r--pkgs/applications/science/logic/cvc4/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/science/logic/cvc4/default.nix b/pkgs/applications/science/logic/cvc4/default.nix
index b0b3e5e610e6..873c3ca57c0c 100644
--- a/pkgs/applications/science/logic/cvc4/default.nix
+++ b/pkgs/applications/science/logic/cvc4/default.nix
@@ -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