Skip to content

Commit 711ca67

Browse files
committed
Flake tidy
1 parent ab03a1c commit 711ca67

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

flake.nix

+6-6
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
inherit system;
2323
};
2424

25-
toolchain = fenix.packages.${system}.toolchainOf {
25+
rustToolchain = fenix.packages.${system}.toolchainOf {
2626
channel = "1.84";
2727
date = "2025-01-09";
2828
sha256 = "lMLAupxng4Fd9F1oDw8gx+qA0RuF7ou7xhNU8wgs0PU=";
2929
};
3030

3131
rustPlatform = pkgs.makeRustPlatform {
32-
cargo = toolchain.cargo;
33-
rustc = toolchain.rustc;
32+
cargo = rustToolchain.cargo;
33+
rustc = rustToolchain.rustc;
3434
};
3535

3636
cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);
@@ -49,17 +49,17 @@
4949

5050
packages = with pkgs; [
5151
# Rust toolchain
52-
toolchain.toolchain
52+
rustToolchain.toolchain
5353

54-
# Code formatting tools
54+
# Code formatting
5555
treefmt
5656
alejandra
5757
mdl
5858

5959
# Rust dependency linting
6060
cargo-deny
6161

62-
# Container image management tool
62+
# Container image management
6363
skopeo
6464
];
6565

0 commit comments

Comments
 (0)