From 3979f48f7fdd11af4946488449340f8d50bba079 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Wed, 30 Aug 2017 22:48:33 +0200 Subject: [PATCH] darwin: add callPackage --- pkgs/top-level/darwin-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/darwin-packages.nix b/pkgs/top-level/darwin-packages.nix index 4fa86a3a1210..32d540a8f967 100644 --- a/pkgs/top-level/darwin-packages.nix +++ b/pkgs/top-level/darwin-packages.nix @@ -6,6 +6,8 @@ in (apple-source-releases // { + callPackage = newScope (darwin.apple_sdk.frameworks // darwin); + apple_sdk = callPackage ../os-specific/darwin/apple-sdk { }; binutils = callPackage ../os-specific/darwin/binutils { @@ -39,7 +41,7 @@ in osx_private_sdk = callPackage ../os-specific/darwin/osx-private-sdk { }; - security_tool = (newScope (darwin.apple_sdk.frameworks // darwin)) ../os-specific/darwin/security-tool { + security_tool = darwin.callPackage ../os-specific/darwin/security-tool { Security-framework = darwin.apple_sdk.frameworks.Security; };