dune: 1.4.0 -> 1.5.0 (#49848)
* dune: 1.4.0 -> 1.5.1 * reason: use dune installPhase
This commit is contained in:
committed by
Vincent Laporte
parent
1c49226176
commit
2e89de61c5
@@ -21,12 +21,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildFlags = [ "build" ]; # do not "make tests" before reason lib is installed
|
||||
|
||||
installPhase = ''
|
||||
for p in reason rtop
|
||||
do
|
||||
${dune.installPhase} $p.install
|
||||
done
|
||||
inherit (dune) installPhase;
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/rtop \
|
||||
--prefix PATH : "${utop}/bin" \
|
||||
--set OCAMLPATH $out/lib/ocaml/${ocaml.version}/site-lib:$OCAMLPATH
|
||||
|
||||
Reference in New Issue
Block a user