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
|
# Build system
|
||||||
export CARGO_HOME = $(CURDIR)/debian/cargo
|
export CARGO_HOME = $(CURDIR)/debian/cargo
|
||||||
export CARGO_TARGET_DIR = $(CURDIR)/debian/cargo/target
|
export CARGO_TARGET_DIR = $(CURDIR)/debian/cargo/target
|
||||||
export PATH = $(HOME)/.cargo/bin:$(PATH)
|
|
||||||
|
|
||||||
# Apply our compatibility patch
|
# Apply our compatibility patch
|
||||||
override_dh_auto_patch:
|
override_dh_auto_patch:
|
||||||
|
|
@ -19,6 +18,7 @@ override_dh_auto_patch:
|
||||||
|
|
||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
# Build bootc with cargo - ensure rustup environment is loaded
|
# Build bootc with cargo - ensure rustup environment is loaded
|
||||||
|
export PATH=$(HOME)/.cargo/bin:$$PATH
|
||||||
rustup default stable
|
rustup default stable
|
||||||
cargo build --release
|
cargo build --release
|
||||||
dh_auto_build
|
dh_auto_build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue