mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03: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:
|
||||
|
||||
@ -21,7 +21,7 @@ stdenv.mkDerivation ({
|
||||
'';
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
${dune.installPhase}
|
||||
${opaline}/bin/opaline -prefix $out -libdir $OCAMLFIND_DESTDIR
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user