···126126 postPatch = ''
127127 # Make sure we do not accidentally build against some of the vendored dependencies
128128 # If it asks you to "run deps.sh to fetch the build dependencies", then you are probably missing a JPEGXL_FORCE_SYSTEM_* flag
129129- (
130130- shopt -s extglob
131131- rm -rf third_party/!(sjpeg)/
132132- )
129129+ shopt -s extglob
130130+ rm -rf third_party/!(sjpeg)/
131131+ shopt -u extglob
133132134133 substituteInPlace plugins/gdk-pixbuf/jxl.thumbnailer \
135134 --replace '/usr/bin/gdk-pixbuf-thumbnailer' "$out/libexec/gdk-pixbuf-thumbnailer-jxl"