Skip to content

Commit

Permalink
zarith: propagate build input gmp
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Nov 7, 2014
1 parent 8baab59 commit fbbd880
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/science/logic/alt-ergo/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, ocaml, ocamlPackages, gmp }:
{ fetchurl, stdenv, ocaml, ocamlPackages }:

stdenv.mkDerivation rec {
name = "alt-ergo-${version}";
Expand All @@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
};

buildInputs = with ocamlPackages;
[ ocaml findlib ocamlgraph zarith lablgtk gmp ];
[ ocaml findlib ocamlgraph zarith lablgtk ];

meta = {
description = "High-performance theorem prover and SMT solver";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/development/ocaml-modules/zarith/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ stdenv.mkDerivation rec {
sha256 = "1mx3nxcn5h33qhx4gbg0hgvvydwlwdvdhqcnvfwnmf9jy3b8frll";
};

buildInputs = [ ocaml findlib pkgconfig gmp perl ];
buildInputs = [ ocaml findlib pkgconfig perl ];
propagatedBuildInputs = [ gmp ];

patchPhase = ''
substituteInPlace ./z_pp.pl --replace '/usr/bin/perl' '${perl}/bin/perl'
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/tools/analysis/frama-c/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, ncurses, ocamlPackages, graphviz
, ltl2ba, coq, alt-ergo, gmp, why3 }:
, ltl2ba, coq, alt-ergo, why3 }:

stdenv.mkDerivation rec {
name = "frama-c-${version}";
Expand All @@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
};

buildInputs = with ocamlPackages; [
ncurses ocaml findlib alt-ergo ltl2ba ocamlgraph gmp
ncurses ocaml findlib alt-ergo ltl2ba ocamlgraph
lablgtk coq graphviz zarith why3 zarith
];

Expand Down

0 comments on commit fbbd880

Please sign in to comment.