build: update golangci-lint and gopls in flake

Updates #1850
This commit is contained in:
Kristoffer Dalby
2026-02-24 18:59:45 +00:00
parent 8048f10d13
commit 25ccb5a161
2 changed files with 4 additions and 9 deletions

View File

@@ -48,7 +48,7 @@ repos:
# golangci-lint for Go code quality # golangci-lint for Go code quality
- id: golangci-lint - id: golangci-lint
name: golangci-lint name: golangci-lint
entry: golangci-lint run --new-from-rev=HEAD~1 --timeout=5m --fix entry: nix develop --command -- golangci-lint run --new-from-rev=HEAD~1 --timeout=5m --fix
language: system language: system
types: [go] types: [go]
pass_filenames: false pass_filenames: false

View File

@@ -135,11 +135,6 @@
}; };
}; };
# The package uses buildGo125Module, not the convention.
# goreleaser = prev.goreleaser.override {
# buildGoModule = buildGo;
# };
gotestsum = prev.gotestsum.override { gotestsum = prev.gotestsum.override {
buildGoModule = buildGo; buildGoModule = buildGo;
}; };
@@ -152,9 +147,9 @@
buildGoModule = buildGo; buildGoModule = buildGo;
}; };
# gopls = prev.gopls.override { gopls = prev.gopls.override {
# buildGoModule = buildGo; buildGoLatestModule = buildGo;
# }; };
}; };
} }
// flake-utils.lib.eachDefaultSystem // flake-utils.lib.eachDefaultSystem