Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarrosop committed Sep 27, 2024
1 parent b648cc7 commit 279c4ff
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gen_ai_review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
config.max_model_tokens: 100000
config.model: "anthropic/claude-3-5-sonnet-20240620"
config.model_turbo: "anthropic/claude-3-5-sonnet-20240620"
config.ignore.glob: "vendor/**,**/client_gen.go,**/models_gen.go,**/generated.go,**/*.gen.go"
ignore.glob: "vendor/**,**/client_gen.go,**/models_gen.go,**/generated.go,**/*.gen.go"
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 15 additions & 15 deletions overlays/go.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
final: prev: rec {
go = prev.go_1_22.overrideAttrs
go = prev.go_1_23.overrideAttrs
(finalAttrs: previousAttrs: rec {
version = "1.23.1";

Expand All @@ -12,8 +12,8 @@ final: prev: rec {

buildGoModule = prev.buildGoModule.override { go = go; };

golangci-lint = prev.golangci-lint.override rec {
buildGoModule = args: final.buildGoModule (args // rec {
golangci-lint = prev.golangci-lint.override {
buildGo123Module = args: final.buildGoModule (args // rec {
version = "1.61.0";
src = prev.fetchFromGitHub {
owner = "golangci";
Expand All @@ -34,7 +34,7 @@ final: prev: rec {
});
};

mockgen = prev.mockgen.override rec {
mockgen = prev.mockgen.override {
buildGoModule = args: final.buildGoModule (args // rec {
version = "0.4.0";
src = final.fetchFromGitHub {
Expand All @@ -47,7 +47,7 @@ final: prev: rec {
});
};

golines = final.buildGoModule rec {
golines = final.buildGoModule {
name = "golines";
version = "0.11.0";
src = final.fetchFromGitHub {
Expand Down Expand Up @@ -89,16 +89,16 @@ final: prev: rec {

gqlgen = final.buildGoModule rec {
pname = "gqlgen";
version = "0.17.49";
version = "0.17.54";

src = final.fetchFromGitHub {
owner = "99designs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-dHKK21xIc7C0Ei/4+WHrVaDMFikZxHP6hTA8zF9ZEZ8=";
sha256 = "sha256-0aoEVvKsdWJd3+aC7NuC6gs81dRRByy2TVrV4l9MdWE=";
};

vendorHash = "sha256-1NxgK/4ccUqf0m3rJkM0FXKK5wNJmCeCNnV2FyZVRoQ=";
vendorHash = "sha256-wsuep7K5SlkTWCiOuzjrkODZgAsHDa9wO8nnwWQVYco=";

doCheck = false;

Expand All @@ -114,16 +114,16 @@ final: prev: rec {

gqlgenc = final.buildGoModule rec {
pname = "gqlgenc";
version = "0.24.0";
version = "0.25.2";

src = final.fetchFromGitHub {
owner = "Yamashou";
repo = pname;
rev = "v${version}";
sha256 = "sha256-tKEHqo7drOwHIRCgKEXbELi0u9uRpXSwB9R1fPhv/PE=";
sha256 = "sha256-g+l493Nt0SuW4gwJh0s9Zeejpyx2oLxVDykIvBup638=";
};

vendorHash = "sha256-lQ2KQF+55qvscnYfm1jLK/4DdwFBaRZmv9oa/BUSoXI=";
vendorHash = "sha256-YGFMQrxghJIgmiwEPfEqaACH7OETVkD8O7oUhm9foJo=";

doCheck = false;

Expand All @@ -137,18 +137,18 @@ final: prev: rec {
};
};

oapi-codegen = prev.oapi-codegen.override rec {
oapi-codegen = prev.oapi-codegen.override {
buildGoModule = args: final.buildGoModule (args // rec {
version = "2.3.0";
version = "2.4.0";
src = final.fetchFromGitHub {
owner = "oapi-codegen";
repo = "oapi-codegen";
rev = "v${version}";
sha256 = "sha256-Gcl0i3K2ncrxMSLHCPWBleRGdVIVkUo7vcp+tDNpkOw=";
sha256 = "sha256-Byb4bTtdn2Xi5hZXsAtcXA868VGQO6RORj1M2x8EAzg=";
};

subPackages = [ "cmd/oapi-codegen" ];
vendorHash = "sha256-urPMLEaisgndbHmS1sGQ07c+VRBdxIz0wseLoSLVWQo=";
vendorHash = "sha256-bp5sFZNJFQonwfF1RjCnOMKZQkofHuqG0bXdG5Hf3jU=";
});
};

Expand Down
20 changes: 10 additions & 10 deletions overlays/nhost-cli.nix
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{ final }:
let
version = "v1.24.1";
version = "v1.24.5";
dist = {
aarch64-darwin = rec {
aarch64-darwin = {
url = "https://github.com/nhost/cli/releases/download/${version}/cli-${version}-darwin-arm64.tar.gz";
sha256 = "0j3kjz4hhxihg3w99qay74k8aslxnlgwvzvj8p3dindrd98h7pvn";
sha256 = "0yswxz8q15cbsrcxfhx8yx4p0igp5ym9d2gy682ighfgbbiny1j4";
};
x86_64-darwin = rec {
x86_64-darwin = {
url = "https://github.com/nhost/cli/releases/download/${version}/cli-${version}-darwin-amd64.tar.gz";
sha256 = "118czg3pnj6j617dxvn5skl7012zadgq6ybkbhgcllwjk3glxavv";
sha256 = "0w15zlas5975z1p4shs02ggz9f2smlnpmsajjbwb3bsanqgj13q5";
};
aarch64-linux = rec {
aarch64-linux = {
url = "https://github.com/nhost/cli/releases/download/${version}/cli-${version}-linux-arm64.tar.gz";
sha256 = "1yj5zajaf2dfvflxkzfhnym2f2vpssmvd2d1kyb97ml8wqgw3mk9";
sha256 = "1andq57s8l5ax1i04djb7ck5gd046ilcm00ysfxn0128fydv6ida";
};
x86_64-linux = rec {
x86_64-linux = {
url = "https://github.com/nhost/cli/releases/download/${version}/cli-${version}-linux-amd64.tar.gz";
sha256 = "0m7h63clp0p4fycvyxad2mpwa6gfvr9s196j4lijbc1nfwqd4bp6";
sha256 = "11n82j432ly8m8ap7bihy93dbc8jwq7lf1mb8hfzzprrzcsw1p96";
};
};

in
final.stdenvNoCC.mkDerivation rec {
final.stdenvNoCC.mkDerivation {
pname = "nhost-cli";
inherit version;

Expand Down
9 changes: 3 additions & 6 deletions overlays/postgres.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ final: prev: rec {
moveToOutput "lib/libecpg*" "$out"
'';

postFixup = "";
outputs = [ "out" "lib" ];
outputs = [ "out" "lib" "dev" ];
});

postgresql_15_8 = prev.postgresql_15.overrideAttrs
Expand Down Expand Up @@ -77,8 +76,7 @@ final: prev: rec {
moveToOutput "lib/libecpg*" "$out"
'';

postFixup = "";
outputs = [ "out" "lib" ];
outputs = [ "out" "lib" "dev" ];
});

postgresql_16_4 = prev.postgresql_16.overrideAttrs
Expand Down Expand Up @@ -119,7 +117,6 @@ final: prev: rec {
moveToOutput "lib/libecpg*" "$out"
'';

postFixup = "";
outputs = [ "out" "lib" ];
outputs = [ "out" "lib" "dev" ];
});
}

0 comments on commit 279c4ff

Please sign in to comment.