buildDunePackage: use dune install instead of opaline

This commit is contained in:
sternenseemann 2020-12-07 00:42:18 +01:00 committed by Vincent Laporte
parent d63cc95869
commit 640d92513d

View file

@ -1,4 +1,4 @@
{ stdenv, ocaml, findlib, dune, dune_2, opaline }:
{ stdenv, ocaml, findlib, dune, dune_2 }:
{ pname, version, buildInputs ? [], enableParallelBuilding ? true, ... }@args:
@ -25,7 +25,7 @@ stdenv.mkDerivation ({
'';
installPhase = ''
runHook preInstall
${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR
dune install --prefix $out --libdir $OCAMLFIND_DESTDIR ${pname}
runHook postInstall
'';