diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-10-31 23:47:34 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-10-31 23:48:59 +0100 |
commit | d12f6a85411ea73aa7dc40beef21aff255be0478 (patch) | |
tree | 872fd7300f5f98a37f40a643d888cffafcf70eb4 /crates | |
parent | 3beb3227fcbd9b79775e703ccd7b80b6108185fe (diff) | |
download | rebel-d12f6a85411ea73aa7dc40beef21aff255be0478.tar rebel-d12f6a85411ea73aa7dc40beef21aff255be0478.zip |
driver: add toolchain prefix to PATH
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'crates')
-rw-r--r-- | crates/driver/src/driver.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/driver/src/driver.rs b/crates/driver/src/driver.rs index ca93b0f..fe69ee0 100644 --- a/crates/driver/src/driver.rs +++ b/crates/driver/src/driver.rs @@ -181,6 +181,7 @@ impl<'ctx> Driver<'ctx> { fn task_setup(task_ref: &TaskRef<'ctx>) -> Vec<&'static str> { let mut ret = vec![indoc! {" + export PATH={{build.prefix}}/sbin:{{build.prefix}}/bin:$PATH cd {{workdir}} export SOURCE_DATE_EPOCH=1 |