about summary refs log tree commit diff
path: root/pkgs/development/tools/gomplate
diff options
context:
space:
mode:
authorGiorgio Gallo <giorgio.gallo@bitnic.it>2023-11-04 12:32:59 +0100
committerGiorgio Gallo <giorgio.gallo@bitnic.it>2023-11-04 12:32:59 +0100
commit29b2557347b7dfbe2b19e6c4eae57cb4872ae156 (patch)
treefc1325fc6a83a73d62b14c5f468fbb1f1b529a8e /pkgs/development/tools/gomplate
parent9d5d25bbfe8c0297ebe85324addcb5020ed1a454 (diff)
gomplate: force build with go 1.20
Diffstat (limited to 'pkgs/development/tools/gomplate')
-rw-r--r--pkgs/development/tools/gomplate/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/development/tools/gomplate/default.nix b/pkgs/development/tools/gomplate/default.nix
index e6a99d1eeae63..7a5df1067e0e1 100644
--- a/pkgs/development/tools/gomplate/default.nix
+++ b/pkgs/development/tools/gomplate/default.nix
@@ -1,9 +1,16 @@
+# Gomplate 3.x does not build with go > 1.20.
+# Version 4 of gomplate (yet unreleased) should not have this issue.
+#
+# see https://github.com/hairyhenderson/gomplate/issues/1872
+
 { lib
-, buildGoModule
+#, buildGoModule
+, buildGo120Module
 , fetchFromGitHub
 }:
 
-buildGoModule rec {
+# buildGoModule rec {
+buildGo120Module rec {
   pname = "gomplate";
   version = "3.11.5";