buildDunePackage: use dune install instead of opaline
This commit is contained in:
parent
d63cc95869
commit
640d92513d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue