modrinth-app: migrate to new darwin SDK pattern
Part of https://github.com/NixOS/nixpkgs/issues/354146
This commit is contained in:
parent
65857d9675
commit
8429eab972
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user