build: build golangci-lint with the same go version
This commit is contained in:
parent
dc59545cd6
commit
d88fecf2ab
13
flake.nix
13
flake.nix
@ -10,10 +10,16 @@
|
||||
let
|
||||
pkgs = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ ];
|
||||
overlays = [
|
||||
(final: prev: {
|
||||
golangci-lint = prev.golangci-lint.override { buildGo123Module = goBuild; };
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
caddy-log-exporter = pkgs.buildGo123Module {
|
||||
goBuild = pkgs.buildGo123Module;
|
||||
|
||||
caddy-log-exporter = goBuild {
|
||||
name = "caddy-log-exporter";
|
||||
src = ./.;
|
||||
vendorHash = null;
|
||||
@ -34,10 +40,7 @@
|
||||
|
||||
gh # github commandline tool
|
||||
go-task
|
||||
gofumpt
|
||||
golangci-lint
|
||||
golines
|
||||
gopls
|
||||
skopeo # handling docker images without docker
|
||||
];
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user