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
|
# because we copy files from the system
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
|
|
||||||
|
disallowedRequisites = [ sdk ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
linkFramework() {
|
linkFramework() {
|
||||||
local path="$1"
|
local path="$1"
|
||||||
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0apcz4vy2z5645jhrs60wj3w27mncjjqv42h5lln36g6qs2n9113";
|
sha256 = "0apcz4vy2z5645jhrs60wj3w27mncjjqv42h5lln36g6qs2n9113";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
disallowedRequisites = [ apple_sdk.sdk ];
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
# copied from libsecurity_generic
|
# copied from libsecurity_generic
|
||||||
cp -R ${osx_private_sdk}/include/SecurityPrivateHeaders Security
|
cp -R ${osx_private_sdk}/include/SecurityPrivateHeaders Security
|
||||||
@ -97,4 +99,3 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.apsl20;
|
license = licenses.apsl20;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user