this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 41 lines 808 B view raw
1let 2 rust_overlay = import ( 3 fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz" 4 ); 5 6 pkgs = import <nixpkgs> { 7 overlays = [ 8 rust_overlay 9 (_: prev: { 10 riscv-rust = prev.rust-bin.stable.latest.default.override { 11 extensions = [ 12 "rust-src" 13 "rust-analyzer" 14 "clippy" 15 ]; 16 targets = [ "riscv64gc-unknown-linux-gnu" ]; 17 }; 18 }) 19 ]; 20 }; 21 22 riscv-toolchain = import <nixpkgs> { 23 localSystem = "x86_64-linux"; 24 crossSystem = { 25 config = "riscv64-unknown-linux-gnu"; 26 }; 27 }; 28in 29pkgs.mkShell { 30 nativeBuildInputs = with pkgs; [ 31 git 32 riscv-toolchain.buildPackages.gcc 33 python312 34 dtc 35 riscv-rust 36 ]; 37 38 shellHook = '' 39 echo "`git --version`" 40 ''; 41}