From 7f325a7d43f8e79503a88f952aec5640e639f446 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Mon, 13 Oct 2025 20:02:42 +0100 Subject: Discard Cargo.lock while building --- debian/rules | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/rules b/debian/rules index 0824358..75643bd 100755 --- a/debian/rules +++ b/debian/rules @@ -5,3 +5,11 @@ export CARGO_HOME=$(shell pwd)/debian/cargo_home %: dh $@ --buildsystem=pybuild + +override_dh_auto_build: + -mv Cargo.lock Cargo.lock.bak || true + dh_auto_build + +override_dh_auto_clean: + -mv Cargo.lock.bak Cargo.lock || true + dh_auto_clean -- cgit v1.2.3