Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@

env = {
CARGO_NET_GIT_FETCH_WITH_CLI = "true";
# nrf-mpsl-sys and nrf-sdc-sys run bindgen, which dlopens libclang
# at build-script time. Without this every nRF firmware build fails
# with "Unable to find libclang".
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
RUST_MIN_STACK = "67108864";
RUST_SRC_PATH = "${stableToolchain}/lib/rustlib/src/rust/library";
};
Expand Down
Loading