From 8458d6b72094a9990e9d7a272465bc9f7f65cec0 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Thu, 17 Nov 2016 18:13:58 -0600 Subject: [PATCH] plex: 1.0.0 -> 1.2.7; fix some more binaries (#20137) This bumps the version of Plex to the new 1.2.x branch, available to the public. During the 1.1.x branch, there were several more critical binaries that were added to the distribution; we also have to patch these new executables as well with the version bump, to ensure things keep working. Part of this patch was authored by Michael Francis - I simply bumped the version. Closes #20137. Authored-by: Austin Seipp Authored-by: Michael Francis Signed-off-by: Austin Seipp --- pkgs/servers/plex/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/plex/default.nix b/pkgs/servers/plex/default.nix index 28d6295938a..467f3ffb1d4 100644 --- a/pkgs/servers/plex/default.nix +++ b/pkgs/servers/plex/default.nix @@ -6,9 +6,9 @@ let plexPass = throw "Plex pass has been removed at upstream's request; please unset nixpkgs.config.plex.pass"; plexpkg = if enablePlexPass then plexPass else { - version = "1.0.0.2261"; - vsnHash = "a17e99e"; - sha256 = "14li33ni6aaa1qwvc02a066k52s1qwhpv55prvlmq3m5jm3iv0lr"; + version = "1.2.7.2987"; + vsnHash = "1bef33a"; + sha256 = "17d1yisbikcp25mgn71rf8w76zhy015f33hxjj93swfm1qrq55hq"; }; in stdenv.mkDerivation rec { @@ -36,7 +36,7 @@ in stdenv.mkDerivation rec { # Now we need to patch up the executables and libraries to work on Nix. # Side note: PLEASE don't put spaces in your binary names. This is stupid. - for bin in "Plex Media Server" "Plex DLNA Server" "Plex Media Scanner"; do + for bin in "Plex Media Server" "Plex DLNA Server" "Plex Media Scanner" "Plex Script Host" "Plex Transcoder" "Plex Relay"; do patchelf --set-interpreter "${glibc.out}/lib/ld-linux-x86-64.so.2" "$out/usr/lib/plexmediaserver/$bin" patchelf --set-rpath "$out/usr/lib/plexmediaserver" "$out/usr/lib/plexmediaserver/$bin" done