use newest rust
This commit is contained in:
parent
946d2dd1cb
commit
8860a1c639
2 changed files with 8 additions and 1 deletions
|
@ -18,7 +18,10 @@
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
fx = fenix.packages.${system};
|
fx = fenix.packages.${system};
|
||||||
rust = fx.combine [
|
rust = fx.combine [
|
||||||
fx.stable.toolchain
|
(fx.fromToolchainFile {
|
||||||
|
file = ./rox/rust-toolchain.toml;
|
||||||
|
sha256 = "sha256-AJ6LX/Q/Er9kS15bn9iflkUwcgYqRQxiOIL2ToVAXaU=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
rust
|
rust
|
||||||
|
|
4
rust/rox/rust-toolchain.toml
Normal file
4
rust/rox/rust-toolchain.toml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[toolchain]
|
||||||
|
channel = "1.85.0"
|
||||||
|
components = ["rust-src", "rustc", "cargo", "rust-std", "rustfmt", "clippy", "rust-analyzer"]
|
||||||
|
profile = "minimal"
|
Loading…
Add table
Add a link
Reference in a new issue