fix: rust-toolchain -> rust-toolchain.toml (#1313)
The new location has been stable for a year, by now peoples toolchains should have been able to catch up.
This commit is contained in:
parent
0531a13fc5
commit
ac3c09066b
3 changed files with 6 additions and 13 deletions
|
|
@ -40,7 +40,7 @@ flake-utils.lib.eachSystem [
|
||||||
|
|
||||||
src = pkgs.nix-gitignore.gitignoreSource ignoreSource root;
|
src = pkgs.nix-gitignore.gitignoreSource ignoreSource root;
|
||||||
|
|
||||||
rustToolchainToml = pkgs.rust-bin.fromRustupToolchainFile ../rust-toolchain;
|
rustToolchainToml = pkgs.rust-bin.fromRustupToolchainFile (src + "/rust-toolchain.toml");
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = builtins.path {
|
lockFile = builtins.path {
|
||||||
path = ../Cargo.lock;
|
path = ../Cargo.lock;
|
||||||
|
|
@ -158,7 +158,6 @@ in rec {
|
||||||
meta
|
meta
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultPackage = packages.zellij;
|
defaultPackage = packages.zellij;
|
||||||
|
|
||||||
# nix run
|
# nix run
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
|
|
||||||
# This file is updated by `update-toolchain.sh`
|
|
||||||
# We aim to be around 1-2 rust releases behind in order
|
|
||||||
# to get people the time to update their toolchains properly.
|
|
||||||
# By enforcing this, we can also make full use of the features
|
|
||||||
# provided by the current channel.
|
|
||||||
|
|
||||||
[toolchain]
|
|
||||||
channel = "1.57.0"
|
|
||||||
components = ["rustfmt", "clippy", "rust-analysis"]
|
|
||||||
targets = ["wasm32-wasi", "x86_64-unknown-linux-musl"]
|
|
||||||
5
rust-toolchain.toml
Normal file
5
rust-toolchain.toml
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# This file is updated by `update-toolchain.sh`
|
||||||
|
[toolchain]
|
||||||
|
channel = "1.58.0"
|
||||||
|
components = ["rustfmt", "clippy", "rust-analysis"]
|
||||||
|
targets = ["wasm32-wasi", "x86_64-unknown-linux-musl"]
|
||||||
Loading…
Add table
Reference in a new issue