2017-07-08 12:03:21 +01:00
|
|
|
{ CommonCrypto, appleDerivation, libsecurity_codesigning, libsecurity_utilities, m4 }:
|
2015-06-22 04:29:33 +01:00
|
|
|
appleDerivation {
|
|
|
|
buildInputs = [
|
|
|
|
libsecurity_utilities
|
|
|
|
m4
|
|
|
|
];
|
|
|
|
patchPhase = ''
|
|
|
|
patch -p1 < ${./handletemplates.patch}
|
|
|
|
unpackFile ${libsecurity_codesigning.src}
|
|
|
|
mv libsecurity_codesigning*/lib security_codesigning
|
|
|
|
'';
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${CommonCrypto}/include/CommonCrypto";
|
|
|
|
}
|