Skip to content

Commit bc45798

Browse files
committed
Ensure CGO_ENABLED=0
1 parent 57b7049 commit bc45798

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

flake.nix

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
# vendorHash = pkgs.lib.fakeHash; # Enable this and run `nix run . -- --version`, then you can get actual hash
6161
vendorHash = "sha256-tUUlrUaqShYfBbKiewTppgEK1hdHp9S+3yV/hTNT7LY=";
6262

63+
# https://github.com/kachick/times_kachick/issues/316
64+
# TODO: Use env after nixos-25.05. See https://github.com/NixOS/nixpkgs/commit/905dc8d978b38b0439905cb5cd1faf79163e1f14#diff-b07c2e878ff713081760cd5dcf0b53bb98ee59515a22e6007cc3d974e404b220R24
65+
CGO_ENABLED = 0;
66+
6367
meta.mainProgram = "selfup";
6468
};
6569

0 commit comments

Comments
 (0)