forked from M-Labs/nac3
shell.nix: use local channel-rust-nightly.toml
Cargo won't let us use the Nix-downloaded copy of zc706 (no way to specify source paths from environment variables, no way to override Cargo config file without overriding the whole CARGO_HOME) so having such a copy just makes things complex and inconsistent.
This commit is contained in:
parent
d4f1e22a76
commit
4a171ed29c
15068
channel-rust-nightly.toml
Normal file
15068
channel-rust-nightly.toml
Normal file
File diff suppressed because it is too large
Load Diff
@ -11,12 +11,7 @@ let
|
||||
sha256 = "1hcqdz4w2vqb12rrqqcjbfs5s0w4qwjn7z45d1zh0fzncdcf6f7d";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
zc706 = pkgs.fetchgit {
|
||||
url = "https://git.m-labs.hk/M-Labs/zc706.git";
|
||||
rev = "526cfe7577c189687ed1fdca512120dd1460bb80";
|
||||
sha256 = "1gsnggp4237mn9pl6xsvfj859akbsw9w0vmc1i29famz1zzwly76";
|
||||
};
|
||||
rustManifest = "${zc706}/channel-rust-nightly.toml";
|
||||
rustManifest = ./channel-rust-nightly.toml;
|
||||
|
||||
targets = [];
|
||||
rustChannelOfTargets = _channel: _date: targets:
|
||||
@ -49,7 +44,5 @@ in
|
||||
vivado
|
||||
];
|
||||
|
||||
# Set Environment Variables
|
||||
RUST_BACKTRACE = 1;
|
||||
XARGO_RUST_SRC = "${rustcSrc}/src";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user