Lower the prerequisite of gomod2nix

`go_1_18` is only available in nixpkgs master, but `go_1_17` is available in stable `release-21.11`.
This commit is contained in:
yihuang 2022-05-30 16:11:30 +08:00 committed by adisbladis
parent b9b7ac34cb
commit 9a26cc68c0

View file

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