From 6c3b2e6b5853dde74687016a25095e8a358c564e Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sun, 27 Oct 2019 13:50:23 +0100 Subject: newapkbuild: run cargo install with --locked This forces cargo to install the exact versions of the dependencies specified in Cargo.lock. This is essential for reproducible builds! --- newapkbuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newapkbuild.in b/newapkbuild.in index 76fd7ab..24350d0 100644 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -106,7 +106,7 @@ __EOF__ build_rust() { cat >>APKBUILD<<__EOF__ - cargo build --release + cargo build --release --locked __EOF__ } -- cgit v1.2.3-60-g2f50