Commit b8063f4a authored by Paul Meyer's avatar Paul Meyer
Browse files

bluetuith: fix version injection, disable CGO

parent 3a625a07
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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";