From 2af7367cd60464a955c049ee2c2aa161a95ea8db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Thu, 5 Mar 2026 17:01:10 +0100 Subject: [PATCH] Use system zstd instead of the bundled one The bundled zstd is currently broken, use the system one for now. --- pkgs/nix-portable/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/nix-portable/default.nix b/pkgs/nix-portable/default.nix index aedb5fac..60b75a3e 100644 --- a/pkgs/nix-portable/default.nix +++ b/pkgs/nix-portable/default.nix @@ -236,7 +236,7 @@ let ${installBin nixStatic "nix"} # 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 fi @@ -472,7 +472,7 @@ let rm -rf \$dir/tmp/* cd \$dir/tmp unzip -qqp "\$self" ${ lib.removePrefix "/" "${storeTar}/tar"} \ - | \$dir/bin/zstd -d \ + | /usr/bin/zstd -d \ | tar -x \$missing --strip-components 2 mv \$dir/tmp/* \$store/ )