chore: use go1.21
This commit is contained in:
parent
289d877e41
commit
f3e75af976
1 changed files with 11 additions and 0 deletions
11
flake.nix
11
flake.nix
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue