Skip to content

Commit 640d925

Browse files
sternenseemannvbgl
authored andcommitted
buildDunePackage: use dune install instead of opaline
1 parent d63cc95 commit 640d925

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkgs/build-support/ocaml/dune.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, ocaml, findlib, dune, dune_2, opaline }:
1+
{ stdenv, ocaml, findlib, dune, dune_2 }:
22

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

@@ -25,7 +25,7 @@ stdenv.mkDerivation ({
2525
'';
2626
installPhase = ''
2727
runHook preInstall
28-
${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR
28+
dune install --prefix $out --libdir $OCAMLFIND_DESTDIR ${pname}
2929
runHook postInstall
3030
'';
3131

0 commit comments

Comments
 (0)