diff --git a/pkgs/by-name/li/libjxl/package.nix b/pkgs/by-name/li/libjxl/package.nix index 57f4ab170faf..6211023c59d8 100644 --- a/pkgs/by-name/li/libjxl/package.nix +++ b/pkgs/by-name/li/libjxl/package.nix @@ -126,10 +126,9 @@ stdenv.mkDerivation rec { postPatch = '' # Make sure we do not accidentally build against some of the vendored dependencies # If it asks you to "run deps.sh to fetch the build dependencies", then you are probably missing a JPEGXL_FORCE_SYSTEM_* flag - ( - shopt -s extglob - rm -rf third_party/!(sjpeg)/ - ) + shopt -s extglob + rm -rf third_party/!(sjpeg)/ + shopt -u extglob substituteInPlace plugins/gdk-pixbuf/jxl.thumbnailer \ --replace '/usr/bin/gdk-pixbuf-thumbnailer' "$out/libexec/gdk-pixbuf-thumbnailer-jxl"