summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-14 06:18:31 -0500
committerseth <[email protected]>2023-12-14 18:03:17 -0500
commit5e3a9ac4eb4636aa0209ccf4e3ff958baf31969d (patch)
treecf6e928346becd9e7c97f9b04e0aade407def251 /pkgs
parent63498970aa68db136ac73150edcb1e547ed4a3e2 (diff)
modrinth-app: add AppKit to buildInputs on darwin
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/default.nix9
-rw-r--r--pkgs/modrinth-app/default.nix8
2 files changed, 15 insertions, 2 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index aaaefa7..d6c02bb 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -29,7 +29,14 @@ in
modrinth-app-unwrapped = callPackage ./modrinth-app {
inherit (final.nodePackages or prev.nodePackages) pnpm;
- inherit ((final.darwin or prev.darwin).apple_sdk.frameworks) CoreServices Security WebKit;
+
+ inherit
+ ((final.darwin or prev.darwin).apple_sdk.frameworks)
+ AppKit
+ CoreServices
+ Security
+ WebKit
+ ;
};
modrinth-app = callPackage ./modrinth-app/wrapper.nix {
diff --git a/pkgs/modrinth-app/default.nix b/pkgs/modrinth-app/default.nix
index df5705a..5e658b5 100644
--- a/pkgs/modrinth-app/default.nix
+++ b/pkgs/modrinth-app/default.nix
@@ -7,6 +7,7 @@
buildGoModule,
makeDesktopItem,
copyDesktopItems,
+ AppKit,
CoreServices,
Security,
WebKit,
@@ -85,7 +86,12 @@ rustPlatform.buildRustPackage rec {
libsoup
webkitgtk
]
- ++ lib.optionals stdenv.isDarwin [CoreServices Security WebKit];
+ ++ lib.optionals stdenv.isDarwin [
+ AppKit
+ CoreServices
+ Security
+ WebKit
+ ];
nativeBuildInputs = [
pkg-config