diff --git a/pkgs/development/tools/analysis/flow/default.nix b/pkgs/development/tools/analysis/flow/default.nix index 83ef68ffa540..c049a57e76e7 100644 --- a/pkgs/development/tools/analysis/flow/default.nix +++ b/pkgs/development/tools/analysis/flow/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, ocaml, libelf }: +{ stdenv, fetchFromGitHub, ocaml, libelf, cf-private, CoreServices }: stdenv.mkDerivation rec { version = "0.17.0"; @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { cp bin/flow $out/bin/ ''; - buildInputs = [ ocaml libelf ]; + buildInputs = [ ocaml libelf cf-private CoreServices ]; meta = with stdenv.lib; { homepage = "http://flowtype.org/"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d7b094980a9f..5af665e81ecf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5537,7 +5537,10 @@ let findbugs = callPackage ../development/tools/analysis/findbugs { }; - flow = callPackage ../development/tools/analysis/flow { }; + flow = callPackage ../development/tools/analysis/flow { + inherit (darwin.apple_sdk.frameworks) CoreServices; + inherit (darwin) cf-private; + }; framac = callPackage ../development/tools/analysis/frama-c { };