remove taglib_extractor as a default feature, prefering it to be manually enabled

This commit is contained in:
chaos 2023-11-10 22:09:37 +00:00
parent 4603fc33e3
commit 14c1faf3cf
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -69,7 +69,6 @@ default = [
"replaygain", "replaygain",
"mp3_extractor", "mp3_extractor",
"flac_extractor", "flac_extractor",
"taglib_extractor",
"ffprobe_extractor", "ffprobe_extractor",
"command_genhtml" "command_genhtml"
] ]
@ -82,4 +81,4 @@ ffprobe_extractor = [] # If to allow using ffmpeg/ffprobe as a fallback tag extr
command_genhtml = ["dep:html-escape", "dep:urlencoding"] command_genhtml = ["dep:html-escape", "dep:urlencoding"]
replaygain = ["dep:replaygain"] replaygain = ["dep:replaygain"]

View file

@ -32,6 +32,8 @@
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib"; LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
buildFeatures = [ "taglib_extractor" ];
preBuild = '' preBuild = ''
export BINDGEN_EXTRA_CLANG_ARGS="$(< ${stdenv.cc}/nix-support/libc-crt1-cflags) \ export BINDGEN_EXTRA_CLANG_ARGS="$(< ${stdenv.cc}/nix-support/libc-crt1-cflags) \
$(< ${stdenv.cc}/nix-support/libc-cflags) \ $(< ${stdenv.cc}/nix-support/libc-cflags) \