Skip to content

Commit

Permalink
emby: move lib to opt
Browse files Browse the repository at this point in the history
  • Loading branch information
nyanloutre committed Oct 4, 2018
1 parent 9ec17c6 commit c2e269e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/servers/emby/default.nix
Expand Up @@ -32,14 +32,14 @@ stdenv.mkDerivation rec {
'';

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

meta = with stdenv.lib; {
Expand Down

0 comments on commit c2e269e

Please sign in to comment.