diff --git a/pkgs/by-name/au/audiobookshelf/package.nix b/pkgs/by-name/au/audiobookshelf/package.nix index efa34166f093..e5b2e8b5b17e 100644 --- a/pkgs/by-name/au/audiobookshelf/package.nix +++ b/pkgs/by-name/au/audiobookshelf/package.nix @@ -6,6 +6,7 @@ buildNpmPackage, nodejs_18, ffmpeg-full, + nunicode, util-linux, python3, getopt, @@ -45,8 +46,7 @@ let inherit stdenv ffmpeg-full - pname - nodejs + nunicode getopt ; }; diff --git a/pkgs/by-name/au/audiobookshelf/wrapper.nix b/pkgs/by-name/au/audiobookshelf/wrapper.nix index 87d3358a425c..4dabeae303b1 100644 --- a/pkgs/by-name/au/audiobookshelf/wrapper.nix +++ b/pkgs/by-name/au/audiobookshelf/wrapper.nix @@ -1,4 +1,9 @@ -{ stdenv, ffmpeg-full, pname, nodejs, getopt }: '' +{ + stdenv, + ffmpeg-full, + nunicode, + getopt, +}: '' #!${stdenv.shell} port=8000 @@ -55,6 +60,7 @@ SKIP_BINARIES_CHECK=1 \ FFMPEG_PATH=${ffmpeg-full}/bin/ffmpeg \ FFPROBE_PATH=${ffmpeg-full}/bin/ffprobe \ + NUSQLITE3_PATH=${nunicode.sqlite}/lib/libnusqlite3 \ CONFIG_PATH="$config" \ METADATA_PATH="$metadata" \ PORT="$port" \