Use rustup for nightly, so we can download from menteeth registry.

This commit is contained in:
Lyle Mantooth 2023-05-20 12:28:56 -04:00
parent aa5aaf816f
commit 9dba835bcf
Signed by: IslandUsurper
GPG key ID: 6DB52EAE123A5789
3 changed files with 14 additions and 3 deletions

8
.cargo/config.toml Normal file
View file

@ -0,0 +1,8 @@
[unstable]
registry-auth = true
[registries.menteeth]
index = "ssh://git@git.shipyard.rs/menteeth/crate-index.git"
[net]
git-fetch-with-cli = true

View file

@ -37,16 +37,17 @@
src = if inShell then null else ./.;
buildInputs =
[ rustc
cargo
openssl
[ openssl
pkg-config
] ++ (if inShell then [
# In 'nix develop', provide some developer tools.
rust-analyzer
rustfmt
rustup
clippy
] else [
rustc
cargo
(import-cargo.builders.importCargo {
lockFile = ./Cargo.lock;
inherit pkgs;

2
rust-toolchain.toml Normal file
View file

@ -0,0 +1,2 @@
[toolchain]
channel = "nightly-2023-04-30"