jellyfin-web: switch to apple-sdk_11
This commit is contained in:
parent
043ebd74f6
commit
42412a0dba
@ -1,7 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
overrideSDK,
|
||||
fetchFromGitHub,
|
||||
buildNpmPackage,
|
||||
jellyfin,
|
||||
@ -10,22 +9,10 @@
|
||||
xcbuild,
|
||||
pango,
|
||||
giflib,
|
||||
darwin,
|
||||
apple-sdk_11,
|
||||
darwinMinVersionHook,
|
||||
}:
|
||||
let
|
||||
# node-canvas builds code that requires aligned_alloc,
|
||||
# which on Darwin requires at least the 10.15 SDK
|
||||
stdenv' =
|
||||
if stdenv.hostPlatform.isDarwin then
|
||||
overrideSDK stdenv {
|
||||
darwinMinVersion = "10.15";
|
||||
darwinSdkVersion = "11.0";
|
||||
}
|
||||
else
|
||||
stdenv;
|
||||
buildNpmPackage' = buildNpmPackage.override { stdenv = stdenv'; };
|
||||
in
|
||||
buildNpmPackage' rec {
|
||||
buildNpmPackage rec {
|
||||
pname = "jellyfin-web";
|
||||
version = "10.9.11";
|
||||
|
||||
@ -48,7 +35,10 @@ buildNpmPackage' rec {
|
||||
[ pango ]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
giflib
|
||||
darwin.apple_sdk.frameworks.CoreText
|
||||
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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user