forked from mirrors/gomod2nix
Use Go 1.18 for testing
This commit is contained in:
parent
306429dcb2
commit
5c1f8f8467
2 changed files with 5 additions and 2 deletions
|
@ -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";
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue