buildDunePackage: use dune install instead of opaline
This commit is contained in:
parent
d63cc95869
commit
640d92513d
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, ocaml, findlib, dune, dune_2, opaline }:
|
{ stdenv, ocaml, findlib, dune, dune_2 }:
|
||||||
|
|
||||||
{ pname, version, buildInputs ? [], enableParallelBuilding ? true, ... }@args:
|
{ pname, version, buildInputs ? [], enableParallelBuilding ? true, ... }@args:
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation ({
|
||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR
|
dune install --prefix $out --libdir $OCAMLFIND_DESTDIR ${pname}
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue