Skip to content

Commit

Permalink
fixup CGO_ENABLED
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Dec 22, 2024
1 parent 2e57821 commit 2896174
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mods/pkgs/server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ rec {

vendorHash = "sha256-NJktyKDyByAWLAc/oayOSQxohKPcxAHiW2ynM77cCOY=";

CGO_ENABLED = 1;
env.CGO_ENABLED = 1;

nativeBuildInputs = [ ];
subPackages = [
Expand Down
2 changes: 1 addition & 1 deletion pkgs/k8s/kor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ buildGoModule rec {
vendorHash = "sha256-DRbwM6fKTIlefD0rUmNLlUXrK+t3vNCl4rxHF7m8W10=";

doCheck = false;
CGO_ENABLED = 0;
env.CGO_ENABLED = 0;
ldflags = [
"-X=github.com/yonahd/kor/pkg/utils.Version=${version}"
];
Expand Down
2 changes: 1 addition & 1 deletion pkgs/server/obligator.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildGoModule {

vendorHash = "sha256-snI3htyuBeeTOND8X5Wi+3WEW5xC+Y+C8jMfmiYAur4=";

CGO_ENABLED = 1;
env.CGO_ENABLED = 1;
ldflags = [ "-s" "-w" ];

meta = with lib; {
Expand Down

0 comments on commit 2896174

Please sign in to comment.