git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #31955 from dywedir/reason

ocamlPackages.reason: 3.0.0 -> 3.0.2

commit74e60cfb5eff0b8cc9c3e039163faa169d7c933d authorSamuel Leathers <disasm@gmail.com> dateWed 22 Nov 2017, 21:40 (9 years ago) parent06251bee1f43c9
1 file changed+8−7
pkgs/development/compilers/reason/default.nix+8−7
pkgs/development/compilers/reason/default.nix+8−7
@@ -1,31 +1,32 @@
11{ stdenv, makeWrapper, buildOcaml, fetchFromGitHub,
2− ocaml, opam, topkg, menhir, merlin_extend, ppx_tools_versioned, utop }:
2+ ocaml, opam, jbuilder, menhir, merlin_extend, ppx_tools_versioned, utop }:
33
44buildOcaml rec {
55 name = "reason";
6− version = "3.0.0";
6+ version = "3.0.2";
77
88 src = fetchFromGitHub {
99 owner = "facebook";
1010 repo = "reason";
11− rev = version;
12− sha256 = "0vj3y9vlm9gqvj9grmb9n487avbrj4q5611m7wv1bsdpndvv96jr";
11+ rev = "v${version}";
12+ sha256 = "1rpaazy0m76qidxwdr51qrgs3ryyz875rndwp9p30siqd04raswq";
1313 };
1414
1515 propagatedBuildInputs = [ menhir merlin_extend ppx_tools_versioned ];
1616
17− buildInputs = [ makeWrapper opam topkg utop menhir opam topkg ];
17+ buildInputs = [ makeWrapper opam jbuilder utop menhir ];
1818
1919 buildFlags = [ "build" ]; # do not "make tests" before reason lib is installed
2020
2121 createFindlibDestdir = true;
2222
2323 postPatch = ''
24− substituteInPlace src/reasonbuild.ml --replace "refmt --print binary" "$out/bin/refmt --print binary"
24+ substituteInPlace src/reasonbuild/myocamlbuild.ml \
25+ --replace "refmt --print binary" "$out/bin/refmt --print binary"
2526 '';
2627
2728 installPhase = ''
28− ${topkg.installPhase}
29+ ${jbuilder.installPhase}
2930
3031 wrapProgram $out/bin/rtop \
3132 --prefix PATH : "${utop}/bin" \