libjxl: fix broken extglob in patchPhase
This commit is contained in:
committed by
Alyssa Ross
parent
cccce2ac65
commit
f152afb13e
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user