buildGoModule: remove runVend

follow up from 8a8c88de70
This commit is contained in:
zowoq 2022-01-07 09:01:39 +10:00
parent d50b6bff89
commit fe00d45c50

View file

@ -1,4 +1,4 @@
{ go, cacert, git, lib, stdenv, vend }:
{ go, cacert, git, lib, stdenv }:
{ name ? "${args'.pname}-${args'.version}"
, src
@ -106,10 +106,7 @@ let
exit 10
fi
${if runVend then ''
echo "running 'vend' to rewrite vendor folder"
${vend}/bin/vend
'' else if proxyVendor then ''
${if proxyVendor then ''
mkdir -p "''${GOPATH}/pkg/mod/cache/download"
go mod download
'' else ''