emby: move usr/lib to lib

This commit is contained in:
nyanloutre 2018-10-03 09:44:53 +02:00
parent f7a2e2025f
commit 9ec17c6318

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; {