modrinth-app: migrate to new darwin SDK pattern

Part of https://github.com/NixOS/nixpkgs/issues/354146
This commit is contained in:
seth 2024-11-14 16:48:22 -05:00
parent 65857d9675
commit 8429eab972
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -5,7 +5,6 @@
rustPlatform,
cacert,
cargo-tauri_1,
darwin,
desktop-file-utils,
libsoup,
nodejs,
@ -57,16 +56,7 @@ rustPlatform.buildRustPackage rec {
++ lib.optionals stdenv.hostPlatform.isLinux [
libsoup
webkitgtk_4_0
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
AppKit
CoreServices
Security
WebKit
]
);
];
env = {
TURBO_BINARY_PATH = lib.getExe turbo;