ocamlPackages.erm_xmpp: fix build
Add missing pre/post hooks - preConfigure is now required, as findlib sets a necessary preConfigure hook
This commit is contained in:
parent
590471d177
commit
125c7a4ef5
@ -16,9 +16,21 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
buildInputs = [ ocaml findlib ocamlbuild camlp4 ];
|
||||||
propagatedBuildInputs = [ erm_xml mirage-crypto mirage-crypto-rng base64 ];
|
propagatedBuildInputs = [ erm_xml mirage-crypto mirage-crypto-rng base64 ];
|
||||||
|
|
||||||
configurePhase = "ocaml setup.ml -configure --prefix $out";
|
configurePhase = ''
|
||||||
buildPhase = "ocaml setup.ml -build";
|
runHook preConfigure
|
||||||
installPhase = "ocaml setup.ml -install";
|
ocaml setup.ml -configure --prefix $out
|
||||||
|
runHook postConfigure
|
||||||
|
'';
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
ocaml setup.ml -build
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
ocaml setup.ml -install
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
createFindlibDestdir = true;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user