Skip to content

Commit

Permalink
Inherit PATH env var in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
mappum committed Jul 28, 2023
1 parent a2c44f5 commit aa23343
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ fn main() {
let res = std::process::Command::new(shell)
.env_clear()
.env("OUT_DIR", std::env::var("OUT_DIR").unwrap())
.env("PATH", std::env::var("PATH").unwrap())
.env("NOMIC_LEGACY_REV", rev)
.args(["build.sh"])
.spawn()
Expand Down

0 comments on commit aa23343

Please sign in to comment.