ladybird: Update darwin sdk version
This commit is contained in:
@@ -19,14 +19,12 @@
|
||||
, qt6Packages
|
||||
, woff2
|
||||
, ffmpeg
|
||||
, fontconfig
|
||||
, simdutf
|
||||
, skia
|
||||
, nixosTests
|
||||
, AppKit
|
||||
, Cocoa
|
||||
, Foundation
|
||||
, OpenGL
|
||||
, unstableGitUpdater
|
||||
, apple-sdk_14
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -107,6 +105,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
buildInputs = with qt6Packages; [
|
||||
curl
|
||||
ffmpeg
|
||||
fontconfig
|
||||
libavif
|
||||
libjxl
|
||||
libwebp
|
||||
@@ -120,10 +119,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libpulseaudio.dev
|
||||
qtwayland
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
AppKit
|
||||
Cocoa
|
||||
Foundation
|
||||
OpenGL
|
||||
apple-sdk_14
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
@@ -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;
|
||||
};
|
||||
})
|
||||
|
||||
@@ -14499,10 +14499,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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user