I'm trying to make a flake for Embedded Development on CH32V307 microcontrollers. I did get Cargo build working successfully, but nix build doesn't work. When trying to do so it fails with the following error:
> Running phase: buildPhase
> error: no matching package named `compiler_builtins` found
> location searched: directory source `/build/cargo-vendor-dir` (which is replacing registry `crates-io`)
> required by package `std v0.0.0 (/nix/store/a9flgvs64klvknn49qrsw3xlqsznyc2g-rust-default-1.85.0-nightly-2025-01-01/lib/rustlib/src/rust/library/std)`
> ... which satisfies path dependency `std` (locked to 0.0.0) of package `sysroot v0.0.0 (/nix/store/a9flgvs64klvknn49qrsw3xlqsznyc2g-rust-default-1.85.0-nightly-2025-01-01/lib/rustlib/src/rust/library/sysroot)`
I'm trying to make a flake for Embedded Development on
CH32V307microcontrollers. I did getCargo buildworking successfully, butnix builddoesn't work. When trying to do so it fails with the following error: