chore: use go1.21

This commit is contained in:
Bastien Riviere 2023-09-01 17:53:59 +02:00
parent 289d877e41
commit f3e75af976
Signed by: babariviere
GPG key ID: 4E5F0839249F162E

View file

@ -21,6 +21,17 @@
system,
...
}: {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
(final: prev: {
go = prev.go_1_21;
gopls = prev.gopls.override {buildGoModule = prev.buildGo121Module;};
})
];
config = {};
};
treefmt = {
projectRootFile = ".git/config";
programs = {