lol

Merge pull request #175700 from siraben/cvc4-darwin

cvc4: fix build on darwin

authored by

Ben Siraphob and committed by
GitHub
b5827f10 b8ca7f3c

+3 -3
+3 -3
pkgs/applications/science/logic/cvc4/default.nix
··· 14 14 }; 15 15 16 16 nativeBuildInputs = [ pkg-config cmake ]; 17 - buildInputs = [ gmp git python3.pkgs.toml cln readline swig libantlr3c antlr3_4 boost jdk python3 ]; 17 + buildInputs = [ gmp git python3.pkgs.toml readline swig libantlr3c antlr3_4 boost jdk python3 ] 18 + ++ lib.optionals (!stdenv.isDarwin) [ cln ]; 18 19 configureFlags = [ 19 20 "--enable-language-bindings=c,c++,java" 20 21 "--enable-gpl" 21 - "--with-cln" 22 22 "--with-readline" 23 23 "--with-boost=${boost.dev}" 24 - ]; 24 + ] ++ lib.optionals (!stdenv.isDarwin) [ "--with-cln" ]; 25 25 26 26 prePatch = '' 27 27 patch -p1 -i ${./minisat-fenv.patch} -d src/prop/minisat