9 lines
268 B
Nix
9 lines
268 B
Nix
{ 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";
|
|
}
|