3
0
Fork 0
forked from mirrors/nixpkgs

emby: move usr/lib to lib

(cherry picked from commit 9ec17c6318)
This commit is contained in:
nyanloutre 2018-10-03 09:44:53 +02:00 committed by Victor SENE
parent 04d75db258
commit 36f064d341

View file

@ -32,14 +32,14 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
install -dm 755 "$out/usr/lib/emby-server"
cp -r * "$out/usr/lib/emby-server"
install -dm 755 "$out/lib/emby-server"
cp -r * "$out/lib/emby-server"
makeWrapper "${dotnet-sdk}/bin/dotnet" $out/bin/emby \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [
sqlite
]}" \
--add-flags "$out/usr/lib/emby-server/EmbyServer.dll -programdata /var/lib/emby/ProgramData-Server -ffmpeg ${ffmpeg}/bin/ffmpeg -ffprobe ${ffmpeg}/bin/ffprobe"
--add-flags "$out/lib/emby-server/EmbyServer.dll -programdata /var/lib/emby/ProgramData-Server -ffmpeg ${ffmpeg}/bin/ffmpeg -ffprobe ${ffmpeg}/bin/ffprobe"
'';
meta = with stdenv.lib; {