Skip to content

Commit

Permalink
coqPackages.smtcoq.cvc4: fix build by building CLN in the same stdenv
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Jan 18, 2024
1 parent ed30e67 commit 6088947
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/coq-modules/smtcoq/cvc4.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
, python3
}:

let cln' = cln.override { gccStdenv = stdenv; }; in

stdenv.mkDerivation rec {
pname = "cvc4";
version = "1.6";
Expand All @@ -15,7 +17,7 @@ stdenv.mkDerivation rec {
# Build fails with GNUmake 4.4
nativeBuildInputs = [ autoreconfHook gnumake42 pkg-config ];
buildInputs = [ gmp swig libantlr3c boost python3 ]
++ lib.optionals stdenv.isLinux [ cln ];
++ lib.optionals stdenv.isLinux [ cln' ];

configureFlags = [
"--enable-language-bindings=c"
Expand Down

0 comments on commit 6088947

Please sign in to comment.