Use Go 1.18 for testing

This commit is contained in:
adisbladis 2022-05-29 03:35:14 +08:00
parent 306429dcb2
commit 5c1f8f8467
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,8 @@
{ buildGoApplication, go, nix, lib, makeWrapper, nix-prefetch-git }: { buildGoApplication, go_1_18, nix, lib, makeWrapper, nix-prefetch-git }:
let
go = go_1_18;
in
buildGoApplication { buildGoApplication {
inherit go; inherit go;
pname = "gomod2nix"; pname = "gomod2nix";

View file

@ -21,7 +21,7 @@ pkgs.mkShell {
buildInputs = [ buildInputs = [
pkgs.nix-prefetch-git pkgs.nix-prefetch-git
pkgs.nixpkgs-fmt pkgs.nixpkgs-fmt
pkgs.go pkgs.gomod2nix.go
pkgs.gomod2nix pkgs.gomod2nix
]; ];
} }