1
Fork 0
mirror of https://github.com/RGBCube/dix synced 2025-07-28 04:07:46 +00:00

flake: switch to nightly rustfmt

This commit is contained in:
Bloxx12 2025-05-09 22:51:47 +02:00
parent 5a532c2b82
commit 6384189a18
No known key found for this signature in database
2 changed files with 31 additions and 1 deletions

View file

@ -4,6 +4,10 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default";
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs: let
@ -32,13 +36,18 @@
(pkgsFor.${system})
cargo
rustc
rustfmt
bacon
;
inherit
(pkgsFor.${system}.rustPackages)
clippy
;
inherit
((pkgsFor.${system}.extend
inputs.rust-overlay.overlays.default).rust-bin.nightly.latest)
rustfmt
;
};
};
});