From 23c781a810e6133a3c22eea04dc08d820a912ecc Mon Sep 17 00:00:00 2001
From: zowoq <59103226+zowoq@users.noreply.github.com>
Date: Mon, 31 Aug 2020 15:54:19 +1000
Subject: buildGoPackage: check/delete vendor
---
doc/languages-frameworks/go.xml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
(limited to 'doc')
diff --git a/doc/languages-frameworks/go.xml b/doc/languages-frameworks/go.xml
index 26414f23c7d2..7cff7a85c62c 100644
--- a/doc/languages-frameworks/go.xml
+++ b/doc/languages-frameworks/go.xml
@@ -117,7 +117,9 @@ deis = buildGoPackage rec {
goDeps = ./deps.nix;
- buildFlags = [ "--tags" "release" ];
+ deleteVendor = true;
+
+ buildFlags = [ "--tags" "release" ];
}
@@ -144,6 +146,11 @@ deis = buildGoPackage rec {
+
+ deleteVendor removes the pre-existing vendor directory. This should only be used if the dependencies included in the vendor folder are broken or incomplete.
+
+
+
buildFlags is a list of flags passed to the go build command.
--
cgit v1.2.3