From 742bce7793502e00736e49d6f8ed13952c7f3ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Zimmermann?= Date: Tue, 6 Nov 2018 17:18:09 +0100 Subject: [PATCH] buildDunePackage: inline dune.installPhase for easier overriding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jörg Thalheim --- pkgs/build-support/ocaml/dune.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/build-support/ocaml/dune.nix b/pkgs/build-support/ocaml/dune.nix index 3426f8e957d..7386b07f575 100644 --- a/pkgs/build-support/ocaml/dune.nix +++ b/pkgs/build-support/ocaml/dune.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ocaml, findlib, dune }: +{ stdenv, fetchurl, ocaml, findlib, dune, opaline }: { pname, version, buildInputs ? [], ... }@args: @@ -21,7 +21,7 @@ stdenv.mkDerivation ({ ''; installPhase = '' runHook preInstall - ${dune.installPhase} + ${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR runHook postInstall '';