···126 postPatch = ''
127 # Make sure we do not accidentally build against some of the vendored dependencies
128 # If it asks you to "run deps.sh to fetch the build dependencies", then you are probably missing a JPEGXL_FORCE_SYSTEM_* flag
129- (
130- shopt -s extglob
131- rm -rf third_party/!(sjpeg)/
132- )
133134 substituteInPlace plugins/gdk-pixbuf/jxl.thumbnailer \
135 --replace '/usr/bin/gdk-pixbuf-thumbnailer' "$out/libexec/gdk-pixbuf-thumbnailer-jxl"
···126 postPatch = ''
127 # Make sure we do not accidentally build against some of the vendored dependencies
128 # If it asks you to "run deps.sh to fetch the build dependencies", then you are probably missing a JPEGXL_FORCE_SYSTEM_* flag
129+ shopt -s extglob
130+ rm -rf third_party/!(sjpeg)/
131+ shopt -u extglob
0132133 substituteInPlace plugins/gdk-pixbuf/jxl.thumbnailer \
134 --replace '/usr/bin/gdk-pixbuf-thumbnailer' "$out/libexec/gdk-pixbuf-thumbnailer-jxl"