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