From 8bf3d7c75ad85b66b0b33f716ee1c049d9bebcfb Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sat, 14 Sep 2024 16:25:10 -0400 Subject: [PATCH] jellyfin-media-player: fix build on Darwin - Stop removing web resources (it no longer seems necessary); and - Enable aarch64-darwin --- pkgs/applications/video/jellyfin-media-player/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/applications/video/jellyfin-media-player/default.nix b/pkgs/applications/video/jellyfin-media-player/default.nix index 013b6bdf36316..6c25495b03418 100644 --- a/pkgs/applications/video/jellyfin-media-player/default.nix +++ b/pkgs/applications/video/jellyfin-media-player/default.nix @@ -77,11 +77,6 @@ mkDerivation rec { postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' mkdir -p $out/bin $out/Applications mv "$out/Jellyfin Media Player.app" $out/Applications - - # move web-client resources - mv $out/Resources/* "$out/Applications/Jellyfin Media Player.app/Contents/Resources/" - rmdir $out/Resources - ln -s "$out/Applications/Jellyfin Media Player.app/Contents/MacOS/Jellyfin Media Player" $out/bin/jellyfinmediaplayer ''; @@ -89,7 +84,7 @@ mkDerivation rec { homepage = "https://github.com/jellyfin/jellyfin-media-player"; description = "Jellyfin Desktop Client based on Plex Media Player"; license = with licenses; [ gpl2Only mit ]; - platforms = [ "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]; + platforms = [ "aarch64-linux" "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ]; maintainers = with maintainers; [ jojosch kranzes ]; mainProgram = "jellyfinmediaplayer"; };