bluetuith: fix version injection, disable CGO

This commit is contained in:
Paul Meyer
2023-12-31 09:39:46 +01:00
parent 3a625a07bd
commit b8063f4a25
+7 -1
View File
@@ -13,7 +13,13 @@ buildGoModule rec {
vendorHash = "sha256-pYVEFKLPfstWWO6ypgv7ntAaE1Wmq2XKuZC2ccMa8Vc=";
ldflags = [ "-s" "-w" ];
CGO_ENABLED = 0;
ldflags = [
"-s"
"-w"
"-X github.com/darkhz/bluetuith/cmd.Version=${version}@nixpkgs"
];
meta = with lib; {
description = "TUI-based bluetooth connection manager";