prefix Apple SDKs with the appropriate location in nixpkgs

This commit is contained in:
Brian Hicks 2022-08-12 15:12:53 -05:00
parent 83b17d2290
commit 331d170315
No known key found for this signature in database
GPG Key ID: C4F324B9CAAB0D50

View File

@ -68,13 +68,13 @@ rustPlatform.buildRustPackage {
xorg.libxcb
]
++ lib.optionals pkgs.stdenv.isDarwin [
AppKit
CoreFoundation
CoreServices
CoreVideo
Foundation
Metal
Security
pkgs.darwin.apple_sdk.frameworks.AppKit
pkgs.darwin.apple_sdk.frameworks.CoreFoundation
pkgs.darwin.apple_sdk.frameworks.CoreServices
pkgs.darwin.apple_sdk.frameworks.CoreVideo
pkgs.darwin.apple_sdk.frameworks.Foundation
pkgs.darwin.apple_sdk.frameworks.Metal
pkgs.darwin.apple_sdk.frameworks.Security
]);
# cp: to copy str.zig,list.zig...