mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-03 16:50:56 +00:00
chore(nix): make rustfmt-nightly available to default dev shell
I verified this by running `rustfmt --version` on my system. Note that I don't have a system-wide install of rust and only rely on dev shells, so this can't possibly come from somewhere else. ``` $ rustfmt --version rustfmt 1.8.0-nightly (6677875279 2025-07-02) ```
This commit is contained in:
parent
ca3ee9224b
commit
6d1f12b22d
1 changed files with 9 additions and 5 deletions
14
flake.nix
14
flake.nix
|
@ -31,13 +31,17 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fnx = inputs.fenix.packages.${system};
|
||||||
# The Rust toolchain to use
|
# The Rust toolchain to use
|
||||||
toolchain = inputs.fenix.packages.${system}.fromToolchainFile {
|
toolchain = fnx.combine [
|
||||||
file = ./rust-toolchain.toml;
|
(fnx.fromToolchainFile {
|
||||||
|
file = ./rust-toolchain.toml;
|
||||||
|
|
||||||
# See also `rust-toolchain.toml`
|
# See also `rust-toolchain.toml`
|
||||||
sha256 = "sha256-+9FmLhAOezBZCOziO0Qct1NOrfpjNsXxc/8I0c7BdKE=";
|
sha256 = "sha256-+9FmLhAOezBZCOziO0Qct1NOrfpjNsXxc/8I0c7BdKE=";
|
||||||
};
|
})
|
||||||
|
fnx.complete.rustfmt
|
||||||
|
];
|
||||||
|
|
||||||
mkScope =
|
mkScope =
|
||||||
pkgs:
|
pkgs:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue