libsecurity_generic: fix apple_sdk lookup
apple_sdk is now multiple output.
This commit is contained in:
parent
a9131a1395
commit
fe9f4abec2
@ -21,7 +21,7 @@ name: version: sha256: args: let
|
||||
grep -Rl MacTypes.h . | while read file; do
|
||||
substituteInPlace "''$file" --replace \
|
||||
'<CoreServices/../Frameworks/CarbonCore.framework/Headers/MacTypes.h>' \
|
||||
'"${pkgs.darwin.apple_sdk.sdk.out}/include/MacTypes.h"'
|
||||
'"${stdenv.lib.getDev pkgs.darwin.apple_sdk.sdk}/include/MacTypes.h"'
|
||||
done || true # grep returns 1 if it can't find the string
|
||||
'';
|
||||
preBuild = ''
|
||||
|
Loading…
Reference in New Issue
Block a user