mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
darwin.security_tool: disallow requiring sdk
As requested by @domenkozar
This commit is contained in:
parent
e8303d2baf
commit
c7ab795274
@ -71,6 +71,8 @@ let
|
||||
# because we copy files from the system
|
||||
preferLocalBuild = true;
|
||||
|
||||
disallowedRequisites = [ sdk ];
|
||||
|
||||
installPhase = ''
|
||||
linkFramework() {
|
||||
local path="$1"
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user