add nix-shell file for firmware compilation
This commit is contained in:
parent
6ad1d993c6
commit
52cc7722a0
8
shell-firmware.nix
Normal file
8
shell-firmware.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ pkgs ? import <nixpkgs> {}}:
|
||||
let
|
||||
hx = import ./derivations.nix { inherit pkgs; };
|
||||
in
|
||||
pkgs.mkShell {
|
||||
buildInputs = [ hx.rustc hx.rust-riscv32imc-crates hx.cargo ];
|
||||
RUSTFLAGS="-L ${hx.rust-riscv32imc-crates}/lib/rustlib/riscv32imc-unknown-none-elf/lib";
|
||||
}
|
Loading…
Reference in New Issue
Block a user