Skip to content

Commit

Permalink
fix(packages): Downgrade required go version
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Jan 2, 2024
1 parent 420b39f commit decf512
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/catgpt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit decf512

Please sign in to comment.