use newest rust

This commit is contained in:
Sebastian Hugentobler 2025-05-23 12:44:09 +02:00
parent 946d2dd1cb
commit 8860a1c639
Signed by: shu
SSH key fingerprint: SHA256:ppcx6MlixdNZd5EUM1nkHOKoyQYoJwzuQKXM6J/t66M
2 changed files with 8 additions and 1 deletions

View file

@ -18,7 +18,10 @@
pkgs = import nixpkgs { inherit system; };
fx = fenix.packages.${system};
rust = fx.combine [
fx.stable.toolchain
(fx.fromToolchainFile {
file = ./rox/rust-toolchain.toml;
sha256 = "sha256-AJ6LX/Q/Er9kS15bn9iflkUwcgYqRQxiOIL2ToVAXaU=";
})
];
buildInputs = [
rust

View file

@ -0,0 +1,4 @@
[toolchain]
channel = "1.85.0"
components = ["rust-src", "rustc", "cargo", "rust-std", "rustfmt", "clippy", "rust-analyzer"]
profile = "minimal"