From e27e6fbce86e47909c4c652b9c0ea021efefb4ca Mon Sep 17 00:00:00 2001 From: Varun Narravula Date: Wed, 3 Dec 2025 23:30:11 -0500 Subject: [PATCH] feat(nix): disable cgo for the newt package --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index b68a435..82638e8 100644 --- a/flake.nix +++ b/flake.nix @@ -37,6 +37,10 @@ vendorHash = "sha256-Jbu0pz+okV4N9MHUXLcTqSr3s/k5OVZ09hNuS/+4LFY="; + env = { + CGO_ENABLED = 0; + }; + ldflags = [ "-X main.newtVersion=${version}" ];