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,
|
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 = {
|
treefmt = {
|
||||||
projectRootFile = ".git/config";
|
projectRootFile = ".git/config";
|
||||||
programs = {
|
programs = {
|
||||||
|
|
Loading…
Reference in a new issue