Skip to content

Commit

Permalink
ladybird: Update darwin sdk version (#361319)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgaz authored Dec 26, 2024
2 parents 403dfb7 + 9dfb922 commit 83c2a90
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
14 changes: 4 additions & 10 deletions pkgs/applications/networking/browsers/ladybird/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@
, qt6Packages
, woff2
, ffmpeg
, fontconfig
, simdutf
, skia
, nixosTests
, AppKit
, Cocoa
, Foundation
, OpenGL
, unstableGitUpdater
, apple-sdk_14
}:

let
Expand Down Expand Up @@ -107,6 +105,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = with qt6Packages; [
curl
ffmpeg
fontconfig
libavif
libjxl
libwebp
Expand All @@ -120,10 +119,7 @@ stdenv.mkDerivation (finalAttrs: {
libpulseaudio.dev
qtwayland
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
AppKit
Cocoa
Foundation
OpenGL
apple-sdk_14
];

cmakeFlags = [
Expand Down Expand Up @@ -158,7 +154,5 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with maintainers; [ fgaz ];
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
mainProgram = "Ladybird";
# use of undeclared identifier 'NSBezelStyleAccessoryBarAction'
broken = stdenv.hostPlatform.isDarwin;
};
})
8 changes: 7 additions & 1 deletion pkgs/by-name/sk/skia/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
, cctools
, zlib
, apple-sdk_11
, fixDarwinDylibNames

, enableVulkan ? !stdenv.hostPlatform.isDarwin
}:
Expand Down Expand Up @@ -49,7 +50,12 @@ stdenv.mkDerivation (finalAttrs: {
gn
ninja
python3
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ xcbuild cctools.libtool zlib ];
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
xcbuild
cctools.libtool
zlib
fixDarwinDylibNames
];

buildInputs = [
expat
Expand Down
5 changes: 1 addition & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14395,10 +14395,7 @@ with pkgs;

ladspa-sdk = callPackage ../applications/audio/ladspa-sdk { };

ladybird = callPackage ../applications/networking/browsers/ladybird {
stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;
inherit (darwin.apple_sdk_11_0.frameworks) AppKit Cocoa Foundation OpenGL;
};
ladybird = callPackage ../applications/networking/browsers/ladybird { };

lemonbar = callPackage ../applications/window-managers/lemonbar { };

Expand Down

0 comments on commit 83c2a90

Please sign in to comment.