From f7a2e2025f0194389e5a77ff15149c72a6262cac Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Tue, 2 Oct 2018 12:37:34 +0200 Subject: [PATCH] emby: add sqlite to wrapper --- pkgs/servers/emby/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/servers/emby/default.nix b/pkgs/servers/emby/default.nix index ab2d5fa08c2..61f4ab72130 100644 --- a/pkgs/servers/emby/default.nix +++ b/pkgs/servers/emby/default.nix @@ -36,6 +36,9 @@ stdenv.mkDerivation rec { cp -r * "$out/usr/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" '';