My attempt is here.
It fails with
Compiling kani-driver v0.50.0 (/build/source/kani-driver)
error: failed to run custom build command for `kani-compiler v0.50.0 (/build/source/kani-compiler)`
Caused by:
process didn't exit successfully: `/build/source/target/release/build/kani-compiler-6b6e8907781a95f1/build-script-build` (exit status: 101)
--- stderr
thread 'main' panicked at kani-compiler/build.rs:25:47:
called `Result::unwrap()` on an `Err` value: NotPresent
The relevant line in build.rs
is
let rustup_home = env::var("RUSTUP_HOME").unwrap();
which aligns with the build instructions’ indication that cargo
be installed via rustup
.
Not sure how to deal with this in Nix’ sandboxed environment. How should I proceed?
[ There are also pre-compiled binaries for
x86_64-unknown-linux-gnu
x86_64-apple-darwin
-
aarch64-apple-darwin
]