You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
268 B
9 lines
268 B
4 years ago
|
{ 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";
|
||
|
}
|