ocamlbuild: fix build
findlib's setup hook is now a preConfigure setup hook, so make sure to run it
This commit is contained in:
parent
904625852d
commit
a5c133a4b4
1 changed files with 4 additions and 0 deletions
|
@ -19,11 +19,15 @@ stdenv.mkDerivation rec {
|
|||
hardeningDisable = lib.optional stdenv.hostPlatform.isStatic "pie";
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
make -f configure.make Makefile.config \
|
||||
"OCAMLBUILD_PREFIX=$out" \
|
||||
"OCAMLBUILD_BINDIR=$out/bin" \
|
||||
"OCAMLBUILD_MANDIR=$out/share/man" \
|
||||
"OCAMLBUILD_LIBDIR=$OCAMLFIND_DESTDIR"
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue