summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/makechrootpkg.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makechrootpkg.in b/src/makechrootpkg.in
index aac7a0b..c2e3daa 100644
--- a/src/makechrootpkg.in
+++ b/src/makechrootpkg.in
@@ -222,7 +222,7 @@ _chrootbuild() {
sudo --preserve-env=SOURCE_DATE_EPOCH \
--preserve-env=BUILDTOOL \
--preserve-env=BUILDTOOLVER \
- -iu builduser bash -c 'cd /startdir; makepkg "$@"' -bash "$@"
+ -iu builduser bash -c 'cd /startdir; CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse makepkg "$@"' -bash "$@"
ret=$?
case $ret in
0|14)