diff --git a/srcpkgs/maturin/template b/srcpkgs/maturin/template index 26dee81cdb7..c8863f56181 100644 --- a/srcpkgs/maturin/template +++ b/srcpkgs/maturin/template @@ -16,6 +16,8 @@ checksum=605cfe879c68295eedcf0e874676c469dab34f293d58c496ad9c99e64da9cc0e # Tests use unstable features and fail to build make_check=no +export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse + if [ "$CROSS_BUILD" ]; then makedepends+=" rust-std" fi