coqPackages.smtcoq.cvc4: fix build by building CLN in the same stdenv
This commit is contained in:
parent
ed30e67bb0
commit
6088947f52
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
|||
, python3
|
||||
}:
|
||||
|
||||
let cln' = cln.override { gccStdenv = stdenv; }; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cvc4";
|
||||
version = "1.6";
|
||||
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue