Skip to content

Commit ded6781

Browse files
committed
set MADNESS_ALLOW_LDD to support install under madness
1 parent a9c3384 commit ded6781

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ use std::process::Command;
1414
// HEGEL_BINARY_PATH is exported for use by the code.
1515

1616
fn main() {
17+
// make our installed uv work under nix + madness:
18+
// https://github.com/antithesishq/madness
19+
std::env::set_var("MADNESS_ALLOW_LDD", "1");
20+
1721
let hegel_path = ensure_hegel();
1822
eprintln!("using hegel: {}", hegel_path.display());
1923
// export HEGEL_BINARY_PATH for use by our code

0 commit comments

Comments
 (0)