Use system zstd instead of the bundled one

The bundled zstd is currently broken, use the system one for now.
This commit is contained in:
2026-03-05 17:01:10 +01:00
parent e8ef79c7f2
commit 2af7367cd6

View File

@@ -236,7 +236,7 @@ let
${installBin nixStatic "nix"} ${installBin nixStatic "nix"}
# install ssl cert bundle # install ssl cert bundle
unzip -poj "\$self" ${ lib.removePrefix "/" "${caBundleZstd}"} | \$dir/bin/zstd -d > \$dir/ca-bundle.crt unzip -poj "\$self" ${ lib.removePrefix "/" "${caBundleZstd}"} | /usr/bin/zstd -d > \$dir/ca-bundle.crt
recreate_nix_conf recreate_nix_conf
fi fi
@@ -472,7 +472,7 @@ let
rm -rf \$dir/tmp/* rm -rf \$dir/tmp/*
cd \$dir/tmp cd \$dir/tmp
unzip -qqp "\$self" ${ lib.removePrefix "/" "${storeTar}/tar"} \ unzip -qqp "\$self" ${ lib.removePrefix "/" "${storeTar}/tar"} \
| \$dir/bin/zstd -d \ | /usr/bin/zstd -d \
| tar -x \$missing --strip-components 2 | tar -x \$missing --strip-components 2
mv \$dir/tmp/* \$store/ mv \$dir/tmp/* \$store/
) )