summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <getchoo@tuta.io>2024-11-14 18:41:19 -0500
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-11-17 16:28:09 +0000
commitb0e50de02e64550126e1616b43f692dbe188ddb5 (patch)
treec653a93a4f49533100fc8383612847eb7b6f3ed6
parentmodrinth-app: migrate to new darwin SDK pattern (diff)
downloadnixpkgs-b0e50de02e64550126e1616b43f692dbe188ddb5.tar.gz
modrinth-app: pin to apple-sdk_11
Fixes a build failure on x86_64-darwin (cherry picked from commit fdf1f88ac0a6c0d3857bb958bd6de20267761e64)
-rw-r--r--pkgs/by-name/mo/modrinth-app-unwrapped/package.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/by-name/mo/modrinth-app-unwrapped/package.nix b/pkgs/by-name/mo/modrinth-app-unwrapped/package.nix
index bf51778e90e2..7daad6eb76bb 100644
--- a/pkgs/by-name/mo/modrinth-app-unwrapped/package.nix
+++ b/pkgs/by-name/mo/modrinth-app-unwrapped/package.nix
@@ -1,16 +1,17 @@
{
lib,
stdenv,
- fetchFromGitHub,
- rustPlatform,
+ apple-sdk_11,
cacert,
cargo-tauri_1,
desktop-file-utils,
+ fetchFromGitHub,
libsoup,
nodejs,
openssl,
pkg-config,
pnpm_9,
+ rustPlatform,
turbo,
webkitgtk_4_0,
}:
@@ -53,6 +54,7 @@ rustPlatform.buildRustPackage rec {
buildInputs =
[ openssl ]
+ ++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11
++ lib.optionals stdenv.hostPlatform.isLinux [
libsoup
webkitgtk_4_0