Skip to content

Commit

Permalink
Ensure CGO_ENABLED=0
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Dec 24, 2024
1 parent 57b7049 commit bc45798
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
# vendorHash = pkgs.lib.fakeHash; # Enable this and run `nix run . -- --version`, then you can get actual hash
vendorHash = "sha256-tUUlrUaqShYfBbKiewTppgEK1hdHp9S+3yV/hTNT7LY=";

# https://github.com/kachick/times_kachick/issues/316
# TODO: Use env after nixos-25.05. See https://github.com/NixOS/nixpkgs/commit/905dc8d978b38b0439905cb5cd1faf79163e1f14#diff-b07c2e878ff713081760cd5dcf0b53bb98ee59515a22e6007cc3d974e404b220R24
CGO_ENABLED = 0;

meta.mainProgram = "selfup";
};

Expand Down

0 comments on commit bc45798

Please sign in to comment.