From decf512876b2a0d6e0afd1a1093ecd7016286141 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Tue, 2 Jan 2024 14:05:40 -0600 Subject: [PATCH] fix(packages): Downgrade required go version --- packages/catgpt.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/catgpt.nix b/packages/catgpt.nix index 6aeb544e..1e39af1e 100644 --- a/packages/catgpt.nix +++ b/packages/catgpt.nix @@ -14,10 +14,15 @@ buildGoModule rec { hash = "sha256-2smt7C8YK2qPuUChmfDhWYYG2poxz/W5qXBgUtJLEIk="; }; - vendorHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="; + vendorHash = "sha256-0K2aq0jmbaVfK0TosAYpkQOQDpyn8LNeJVqY62Zzt+A="; ldflags = ["-s" "-w"]; + # HACK + prePatch = '' + sed -i 's,go 1.21.5,go 1.21.4,' go.mod + ''; + meta = with lib; { description = "Catgpt` is a command-line tool that uses the OpenAI model to generate text based on user input"; homepage = "https://github.com/ibuildthecloud/catgpt";