Skip to content

Commit

Permalink
jellyfin-media-player: fix build on Darwin
Browse files Browse the repository at this point in the history
- Stop removing web resources (it no longer seems necessary); and
- Enable aarch64-darwin
  • Loading branch information
reckenrode committed Oct 8, 2024
1 parent 3727d51 commit 8bf3d7c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pkgs/applications/video/jellyfin-media-player/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,14 @@ 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
'';

meta = with lib; {
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";
};
Expand Down

0 comments on commit 8bf3d7c

Please sign in to comment.