audiobookshelf: enable nusqlite3 extension

This commit is contained in:
Martin Joerg 2024-10-14 12:51:55 +00:00
parent 6e69d78987
commit f7d8c85ec2
2 changed files with 9 additions and 3 deletions

View File

@ -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
;
};

View File

@ -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" \