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