Skip to content

Commit

Permalink
buildDunePackage: use dune install instead of opaline
Browse files Browse the repository at this point in the history
  • Loading branch information
sternenseemann authored and vbgl committed Dec 20, 2020
1 parent d63cc95 commit 640d925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/build-support/ocaml/dune.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, ocaml, findlib, dune, dune_2, opaline }:
{ stdenv, ocaml, findlib, dune, dune_2 }:

{ pname, version, buildInputs ? [], enableParallelBuilding ? true, ... }@args:

Expand All @@ -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
'';

Expand Down

0 comments on commit 640d925

Please sign in to comment.