Skip to content

Commit

Permalink
piqi: missed propagated dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
maurer authored and vbgl committed Mar 29, 2017
1 parent 3c7b0d3 commit 4e47e85
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/ocaml-modules/piqi-ocaml/default.nix
@@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, findlib, piqi, ulex, easy-format, xmlm, base64, camlp4}:
{ stdenv, fetchurl, ocaml, findlib, piqi, ulex, easy-format, xmlm, camlp4 }:

stdenv.mkDerivation rec {
version = "0.7.5";
Expand All @@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0ngz6y8i98i5v2ma8nk6mc83pdsmf2z0ks7m3xi6clfg3zqbddrv";
};

buildInputs = [ocaml findlib piqi base64 camlp4];
buildInputs = [ ocaml findlib piqi camlp4 ];

createFindlibDestdir = true;

Expand Down
9 changes: 7 additions & 2 deletions pkgs/development/ocaml-modules/piqi/default.nix
Expand Up @@ -9,13 +9,18 @@ stdenv.mkDerivation rec {
sha256 = "1whqr2bb3gds2zmrzqnv8vqka9928w4lx6mi6g244kmbwb2h8d8l";
};

buildInputs = [ocaml findlib camlp4 which ocaml_optcomp base64];
propagatedBuildInputs = [ulex xmlm easy-format];
buildInputs = [ocaml findlib camlp4 which ocaml_optcomp];
propagatedBuildInputs = [ulex xmlm easy-format base64];

patches = [ ./no-ocamlpath-override.patch ];

createFindlibDestdir = true;

buildPhase = ''
make
make -C piqilib piqilib.cma
'';

installPhase = ''
make install;
make ocaml-install;
Expand Down

0 comments on commit 4e47e85

Please sign in to comment.