bump rust, remove nixago

This commit is contained in:
steveej 2025-03-29 17:53:42 +01:00
parent adbf6d4db9
commit 3b852b7073
6 changed files with 43 additions and 226 deletions

View file

@ -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)
'';
}

View file

@ -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 = {