coqPackages.interval: make bignums optional and propagated
This commit is contained in:
parent
985cfa7a8a
commit
d7e84159f8
@ -1,4 +1,5 @@
|
|||||||
{ stdenv, fetchurl, which, coq, coquelicot, flocq, mathcomp, bignums }:
|
{ stdenv, fetchurl, which, coq, coquelicot, flocq, mathcomp
|
||||||
|
, bignums ? null }:
|
||||||
|
|
||||||
let param =
|
let param =
|
||||||
if stdenv.lib.versionAtLeast coq.coq-version "8.5"
|
if stdenv.lib.versionAtLeast coq.coq-version "8.5"
|
||||||
@ -21,8 +22,8 @@ stdenv.mkDerivation {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ which ];
|
nativeBuildInputs = [ which ];
|
||||||
buildInputs = [ coq bignums ];
|
buildInputs = [ coq ];
|
||||||
propagatedBuildInputs = [ coquelicot flocq mathcomp ];
|
propagatedBuildInputs = [ bignums coquelicot flocq mathcomp ];
|
||||||
|
|
||||||
configurePhase = "./configure --libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Interval";
|
configurePhase = "./configure --libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Interval";
|
||||||
buildPhase = "./remake";
|
buildPhase = "./remake";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user