Skip to content

Commit

Permalink
treewide: unpin apple-sdk_11 j-m
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jan 3, 2025
1 parent 013bcf2 commit 7b2e42f
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 61 deletions.
5 changes: 0 additions & 5 deletions pkgs/by-name/ja/jankyborders/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
lib,
stdenv,
apple-sdk_11,
fetchFromGitHub,
pkg-config,
testers,
Expand All @@ -22,10 +21,6 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
];

buildInputs = [
apple-sdk_11
];

installPhase = ''
runHook preInstall
Expand Down
8 changes: 1 addition & 7 deletions pkgs/by-name/je/jellyfin-web/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
xcbuild,
pango,
giflib,
apple-sdk_11,
darwinMinVersionHook,
jellyfin,
}:
buildNpmPackage rec {
Expand All @@ -26,7 +24,7 @@ buildNpmPackage rec {
hash = "sha256-xmy2cr6MJSen6Pok3Wde4mBcu5pM4qtGEBfqMpGdAxY=";
};

nodejs = nodejs_20; # does not build with 22
nodejs = nodejs_20; # does not build with 22

postPatch = ''
substituteInPlace webpack.common.js \
Expand All @@ -48,10 +46,6 @@ buildNpmPackage rec {
[ pango ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
giflib
apple-sdk_11
# node-canvas builds code that requires aligned_alloc,
# which on Darwin requires at least the 10.15 SDK
(darwinMinVersionHook "10.15")
];

installPhase = ''
Expand Down
3 changes: 1 addition & 2 deletions pkgs/by-name/ju/julius/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
cmake,
libpng,
darwin,
apple-sdk_11,
libicns,
imagemagick,
}:
Expand Down Expand Up @@ -42,7 +41,7 @@ stdenv.mkDerivation rec {
SDL2
SDL2_mixer
libpng
] ++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11;
];

installPhase = lib.optionalString stdenv.hostPlatform.isDarwin ''
runHook preInstall
Expand Down
19 changes: 7 additions & 12 deletions pkgs/by-name/ka/kando/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
libXtst,
libXi,
wayland,
apple-sdk_11,
}:

buildNpmPackage rec {
Expand Down Expand Up @@ -50,17 +49,13 @@ buildNpmPackage rec {
copyDesktopItems
];

buildInputs =
lib.optionals stdenv.hostPlatform.isLinux [
libxkbcommon
libX11
libXtst
libXi
wayland
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_11
];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
libxkbcommon
libX11
libXtst
libXi
wayland
];

dontUseCmakeConfigure = true;

Expand Down
3 changes: 0 additions & 3 deletions pkgs/by-name/li/linuxwave/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
fetchFromGitHub,
installShellFiles,
zig_0_13,
apple-sdk_11,
callPackage,
}:

Expand Down Expand Up @@ -32,8 +31,6 @@ stdenv.mkDerivation (finalAttrs: {
zig.hook
];

buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];

postInstall = ''
installManPage man/linuxwave.1
'';
Expand Down
4 changes: 0 additions & 4 deletions pkgs/by-name/ln/lnav/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
cargo,
rustPlatform,
rustc,
apple-sdk_11,
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -58,9 +57,6 @@ stdenv.mkDerivation rec {
curl
libarchive
]
++ lib.optionals stdenv.isDarwin [
apple-sdk_11
]
++ lib.optionals (!stdenv.isDarwin) [
gpm
];
Expand Down
4 changes: 0 additions & 4 deletions pkgs/by-name/ls/lsd/package.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
installShellFiles,
apple-sdk_11,
pandoc,
testers,
lsd,
Expand All @@ -28,8 +26,6 @@ rustPlatform.buildRustPackage rec {
pandoc
];

buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];

postInstall = ''
pandoc --standalone --to man doc/lsd.md -o lsd.1
installManPage lsd.1
Expand Down
16 changes: 4 additions & 12 deletions pkgs/by-name/ma/materialize/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# buildInputs
openssl,
rdkafka,
apple-sdk_11,
darwinMinVersionHook,

versionCheckHook,
nix-update-script,
Expand Down Expand Up @@ -138,16 +136,10 @@ rustPlatform.buildRustPackage rec {
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;

buildInputs =
[
openssl
rdkafka
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# error: aligned allocation function of type 'void *(std::size_t, std::align_val_t)' is only available on macOS 10.13 or newer
apple-sdk_11
(darwinMinVersionHook "10.13")
];
buildInputs = [
openssl
rdkafka
];

# the check phase requires linking with rocksdb which can be a problem since
# the rust rocksdb crate is not updated very often.
Expand Down
3 changes: 0 additions & 3 deletions pkgs/by-name/mi/minizign/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
stdenv,
fetchFromGitHub,
zig_0_13,
apple-sdk_11,
}:

let
Expand All @@ -24,8 +23,6 @@ stdenv.mkDerivation (finalAttrs: {
zig.hook
];

buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];

meta = {
description = "Minisign reimplemented in Zig";
homepage = "https://github.com/jedisct1/zig-minisign";
Expand Down
6 changes: 1 addition & 5 deletions pkgs/by-name/mo/modrinth-app-unwrapped/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
lib,
stdenv,
apple-sdk_11,
cacert,
cargo-tauri,
desktop-file-utils,
Expand Down Expand Up @@ -48,10 +47,7 @@ rustPlatform.buildRustPackage rec {
pnpm.configHook
] ++ lib.optional stdenv.hostPlatform.isDarwin makeBinaryWrapper;

buildInputs =
[ openssl ]
++ lib.optional stdenv.hostPlatform.isDarwin apple-sdk_11
++ lib.optional stdenv.hostPlatform.isLinux webkitgtk_4_1;
buildInputs = [ openssl ] ++ lib.optional stdenv.hostPlatform.isLinux webkitgtk_4_1;

# Tests fail on other, unrelated packages in the monorepo
cargoTestFlags = [
Expand Down
4 changes: 0 additions & 4 deletions pkgs/by-name/mo/moonlight-qt/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
libxkbcommon,
wayland,
libdrm,
apple-sdk_11,
nix-update-script,
}:

Expand Down Expand Up @@ -70,9 +69,6 @@ stdenv.mkDerivation (finalAttrs: {
qt6.qtwayland
wayland
libdrm
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_11
];

qmakeFlags = [ "CONFIG+=disable-prebuilts" ];
Expand Down

0 comments on commit 7b2e42f

Please sign in to comment.