Unverified Commit fe9f4abe authored by Matthew Justin Bauer's avatar Matthew Justin Bauer Committed by GitHub
Browse files

libsecurity_generic: fix apple_sdk lookup

apple_sdk is now multiple output.
parent a9131a13
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = ''