git.iko.soy/typeable/nixpkgs
on master help sign in
upgrade plex to 0.9.12.11.1406
commit00244d0713d23312b9800f1ba02e3f3e7f99fc2e authorAnders Lundstedt <anders@anderslundstedt.se> dateFri 25 Sep 2015, 04:53 (11 years ago) parent83ac62e
1 file changed+5−3
pkgs/servers/plex/default.nix+5−3
pkgs/servers/plex/default.nix+5−3
@@ -4,12 +4,12 @@
44
55stdenv.mkDerivation rec {
66 name = "plex-${version}";
7− version = "0.9.11.16.958";
8− vsnHash = "80f1748";
7+ version = "0.9.12.11.1406";
8+ vsnHash = "8403350";
99
1010 src = fetchurl {
1111 url = "https://downloads.plex.tv/plex-media-server/${version}-${vsnHash}/plexmediaserver-${version}-${vsnHash}.x86_64.rpm";
12− sha256 = "1wrl654nk10i9p01cgy9fqiqalxyl718qhp4kjnxvcwafayxkp26";
12+ sha256 = "295174b3617d699f11ecc22bc603a579e2291fe6ba55a536711acafd64455390";
1313 };
1414
1515 buildInputs = [ rpmextract glibc ];
@@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
3434 find $out/usr/lib/plexmediaserver/Resources -type f -a -perm -0100 \
3535 -print -exec patchelf --set-interpreter "${glibc}/lib/ld-linux-x86-64.so.2" '{}' \;
3636
37+ # executables need libstdc++.so.6
38+ ln -s "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}/libstdc++.so.6" "$out/usr/lib/plexmediaserver/libstdc++.so.6"
3739
3840 # Our next problem is the "Resources" directory in /usr/lib/plexmediaserver.
3941 # This is ostensibly a skeleton directory, which contains files that Plex