fixed rust path
This commit is contained in:
parent
67ad7fa93d
commit
b1b3fa1738
1 changed files with 1 additions and 1 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
|
@ -9,7 +9,6 @@ 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:
|
||||
|
|
@ -19,6 +18,7 @@ override_dh_auto_patch:
|
|||
|
||||
override_dh_auto_build:
|
||||
# Build bootc with cargo - ensure rustup environment is loaded
|
||||
export PATH=$(HOME)/.cargo/bin:$$PATH
|
||||
rustup default stable
|
||||
cargo build --release
|
||||
dh_auto_build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue