Compare commits

...

2 Commits

Author SHA1 Message Date
Astro d360ec6dce shell.nix: cd in shellHook 2019-11-10 23:01:22 +01:00
Astro 7efc95941b default.nix: update rust nightly 2019-11-10 23:01:10 +01:00
3 changed files with 1396 additions and 1203 deletions

File diff suppressed because it is too large Load Diff

View File

@ -10,9 +10,9 @@ with pkgs;
let let
rustcSrc = pkgs.fetchgit { rustcSrc = pkgs.fetchgit {
url = https://github.com/rust-lang/rust.git; url = https://github.com/rust-lang/rust.git;
# master of 2019-10-30 # master of 2019-11-09
rev = "aa69777ea2902208b24b3fd77767d577ceaf6386"; rev = "ac162c6abe34cdf965afc0389f6cefa79653c63b";
sha256 = "0aq9rb6g7g46abphbvgrig80yymdf75rhllf5pgygardqnh11a02"; sha256 = "06c5gws1mrpr69z1gzs358zf7hcsg6ky8n4ha0vv2s9d9w93x1kj";
fetchSubmodules = true; fetchSubmodules = true;
}; };
target = "thumbv7em-none-eabihf"; target = "thumbv7em-none-eabihf";

View File

@ -22,6 +22,7 @@ stdenv.mkDerivation {
RUST_COMPILER_RT_ROOT = "${rustcSrc}/src/llvm-project/compiler-rt"; RUST_COMPILER_RT_ROOT = "${rustcSrc}/src/llvm-project/compiler-rt";
shellHook = '' shellHook = ''
cd firmware
echo "Run 'cargo xbuild --release' to build." echo "Run 'cargo xbuild --release' to build."
''; '';
} }