From 137cadb66bbe23459e3e2b051c8d24a9351db1b7 Mon Sep 17 00:00:00 2001 From: Jude Taylor Date: Tue, 3 Nov 2015 04:53:19 -0800 Subject: [PATCH] darwin purity: flow --- pkgs/development/tools/analysis/flow/default.nix | 4 ++-- pkgs/top-level/all-packages.nix | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) 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 { };