From ea5a227993b01c849744473c6786c7b889ad22d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Jourdois?= Date: Tue, 10 Nov 2015 21:44:46 +0100 Subject: [PATCH] darwin: check: add missing CoreServices dep --- pkgs/development/libraries/check/default.nix | 6 +++++- pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/check/default.nix b/pkgs/development/libraries/check/default.nix index 3841878341c..3bfcde57422 100644 --- a/pkgs/development/libraries/check/default.nix +++ b/pkgs/development/libraries/check/default.nix @@ -1,4 +1,6 @@ -{ fetchurl, stdenv }: +{ fetchurl, stdenv +, CoreServices +}: stdenv.mkDerivation rec { name = "check-${version}"; @@ -12,6 +14,8 @@ stdenv.mkDerivation rec { # Test can randomly fail: http://hydra.nixos.org/build/7243912 doCheck = false; + buildInputs = stdenv.lib.optional stdenv.isDarwin CoreServices; + meta = with stdenv.lib; { description = "Unit testing framework for C"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index da80a4ee8cb..18c1d365e70 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6049,7 +6049,9 @@ let cgui = callPackage ../development/libraries/cgui {}; - check = callPackage ../development/libraries/check { }; + check = callPackage ../development/libraries/check { + inherit (darwin.apple_sdk.frameworks) CoreServices; + }; chipmunk = callPackage ../development/libraries/chipmunk {};