pin go version in shell to avoid issues with golangci-lint
2 files changed, 7 insertions(+), 1 deletion(-)
changed files
M nix/shell.nix → nix/shell.nix
@@ -12,10 +12,14 @@ } ), mkGoEnv ? pkgs.mkGoEnv, gomod2nix ? pkgs.gomod2nix, + go ? pkgs.go, }: let - goEnv = mkGoEnv { pwd = ../.; }; + goEnv = mkGoEnv { + inherit go; + pwd = ../.; + }; in pkgs.mkShell { packages = with pkgs; [