bump rust, remove nixago
This commit is contained in:
parent
adbf6d4db9
commit
3b852b7073
6 changed files with 43 additions and 226 deletions
|
@ -16,12 +16,13 @@ pkgs.mkShell {
|
|||
# Load custom bash code
|
||||
shellHook =
|
||||
# TODO(blocked/upstream): remove this once https://github.com/isbecker/treefmt-vscode/issues/3 is resolved
|
||||
(flake.inputs.nixago.lib.${system}.make {
|
||||
data = flake.formatter.${system}.settings;
|
||||
output = "treefmt.toml";
|
||||
format = "toml";
|
||||
}).shellHook
|
||||
+ ''
|
||||
# (flake.inputs.nixago.lib.${system}.make {
|
||||
# data = flake.formatter.${system}.settings;
|
||||
# output = "treefmt.toml";
|
||||
# format = "toml";
|
||||
# }).shellHook
|
||||
# +
|
||||
''
|
||||
echo $(git rev-parse --show-toplevel)
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -18,7 +18,10 @@ let
|
|||
};
|
||||
statix.enable = true;
|
||||
|
||||
rustfmt.enable = true;
|
||||
rustfmt = {
|
||||
enable = true;
|
||||
edition = "2024";
|
||||
};
|
||||
|
||||
gofmt.enable = true;
|
||||
|
||||
|
@ -27,6 +30,10 @@ let
|
|||
taplo.enable = true;
|
||||
|
||||
prettier.enable = true;
|
||||
|
||||
formatjson5.enable = true;
|
||||
|
||||
just.enable = true;
|
||||
} // pkgs.lib.optionalAttrs (pkgs.system != "riscv64-linux") { shellcheck.enable = true; };
|
||||
|
||||
settings = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue