From 67ad7fa93d217b1f97d601c8f7cf07fd7667d757 Mon Sep 17 00:00:00 2001 From: robojerk Date: Mon, 21 Jul 2025 22:40:08 +0000 Subject: [PATCH] rust issues --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 9383158..2117f60 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,7 @@ export DH_OPTIONS # Build system export CARGO_HOME = $(CURDIR)/debian/cargo export CARGO_TARGET_DIR = $(CURDIR)/debian/cargo/target +export PATH = $(HOME)/.cargo/bin:$(PATH) # Apply our compatibility patch override_dh_auto_patch: @@ -17,7 +18,8 @@ override_dh_auto_patch: dh_auto_patch override_dh_auto_build: - # Build bootc with cargo + # Build bootc with cargo - ensure rustup environment is loaded + rustup default stable cargo build --release dh_auto_build