mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
buildDunePackage: inline dune.installPhase for easier overriding
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
406405d8bd
commit
742bce7793
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, ocaml, findlib, dune }:
|
{ stdenv, fetchurl, ocaml, findlib, dune, opaline }:
|
||||||
|
|
||||||
{ pname, version, buildInputs ? [], ... }@args:
|
{ pname, version, buildInputs ? [], ... }@args:
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ stdenv.mkDerivation ({
|
|||||||
'';
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
${dune.installPhase}
|
${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user