darwin.security_tool: disallow requiring sdk

As requested by @domenkozar
This commit is contained in:
Matthew Bauer 2018-07-04 15:08:35 -04:00
parent e8303d2baf
commit c7ab795274
2 changed files with 4 additions and 1 deletions

View File

@ -71,6 +71,8 @@ let
# because we copy files from the system
preferLocalBuild = true;
disallowedRequisites = [ sdk ];
installPhase = ''
linkFramework() {
local path="$1"

View File

@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
sha256 = "0apcz4vy2z5645jhrs60wj3w27mncjjqv42h5lln36g6qs2n9113";
};
disallowedRequisites = [ apple_sdk.sdk ];
patchPhase = ''
# copied from libsecurity_generic
cp -R ${osx_private_sdk}/include/SecurityPrivateHeaders Security
@ -97,4 +99,3 @@ stdenv.mkDerivation rec {
license = licenses.apsl20;
};
}