nspr: fix darwin build

- needs CoreServices
This commit is contained in:
Matthew Bauer 2016-08-11 23:24:44 -05:00
parent b9d9cea3c7
commit a79ff78ec4
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,5 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl
, CoreServices ? null }:
let version = "4.12"; in
@ -27,6 +28,8 @@ stdenv.mkDerivation {
moveToOutput share "$dev" # just aclocal
'';
buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
enableParallelBuilding = true;
meta = {

View File

@ -8868,7 +8868,9 @@ in
non = callPackage ../applications/audio/non { };
nspr = callPackage ../development/libraries/nspr { };
nspr = callPackage ../development/libraries/nspr {
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
nss = lowPrio (callPackage ../development/libraries/nss { });
nssTools = nss.tools;