Skip to content

Commit

Permalink
modrinth-app: migrate to new darwin SDK pattern
Browse files Browse the repository at this point in the history
Part of NixOS#354146
  • Loading branch information
getchoo authored and paschoal committed Nov 22, 2024
1 parent c4d3db3 commit 2e3813f
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions pkgs/by-name/mo/modrinth-app-unwrapped/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
rustPlatform,
cacert,
cargo-tauri_1,
darwin,
desktop-file-utils,
libsoup,
nodejs,
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2e3813f

Please sign in to comment.