diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2022-05-31 23:39:41 -0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2022-05-31 23:56:18 -0700 |
commit | 583a2312e44b658ac86cba2cd94f4c2014392716 (patch) | |
tree | 6022ba202dabeeec57c519daccfa4c530bdb1588 /pkgs/applications/science/logic | |
parent | ef44c71d983d65dcb01eabdb459caaa522b7d962 (diff) | |
download | nixpkgs-583a2312e44b658ac86cba2cd94f4c2014392716.tar nixpkgs-583a2312e44b658ac86cba2cd94f4c2014392716.tar.gz nixpkgs-583a2312e44b658ac86cba2cd94f4c2014392716.tar.bz2 nixpkgs-583a2312e44b658ac86cba2cd94f4c2014392716.tar.lz nixpkgs-583a2312e44b658ac86cba2cd94f4c2014392716.tar.xz nixpkgs-583a2312e44b658ac86cba2cd94f4c2014392716.tar.zst nixpkgs-583a2312e44b658ac86cba2cd94f4c2014392716.zip |
cvc4: fix build on darwin
Dependency on cln is optional
Diffstat (limited to 'pkgs/applications/science/logic')
-rw-r--r-- | pkgs/applications/science/logic/cvc4/default.nix | 6 |
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 b0b3e5e610e..873c3ca57c0 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 |