flow: pin ocaml to ocaml_4_02

This commit is contained in:
Graham Christensen
2017-02-12 20:52:37 -05:00
parent 8378afaf76
commit 4450327c06
2 changed files with 4 additions and 3 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, lib, ocaml_4_02, libelf, cf-private, CoreServices }: { stdenv, fetchFromGitHub, lib, ocaml, libelf, cf-private, CoreServices }:
with lib; with lib;
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
cp bin/flow $out/bin/ cp bin/flow $out/bin/
''; '';
buildInputs = [ ocaml_4_02 libelf ] buildInputs = [ ocaml libelf ]
++ optionals stdenv.isDarwin [ cf-private CoreServices ]; ++ optionals stdenv.isDarwin [ cf-private CoreServices ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
+1
View File
@@ -6363,6 +6363,7 @@ with pkgs;
flow = callPackage ../development/tools/analysis/flow { flow = callPackage ../development/tools/analysis/flow {
inherit (darwin.apple_sdk.frameworks) CoreServices; inherit (darwin.apple_sdk.frameworks) CoreServices;
inherit (darwin) cf-private; inherit (darwin) cf-private;
ocaml = ocaml_4_02;
}; };
framac = callPackage ../development/tools/analysis/frama-c { }; framac = callPackage ../development/tools/analysis/frama-c { };