Unverified Commit 91e23d45 authored by Stanisław Pitucha's avatar Stanisław Pitucha Committed by GitHub
Browse files

bitmagnet: add version to flags

parent 0914dbea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ buildGoModule rec {

  vendorHash = "sha256-exKQTsyP7LL63WHZ8/WchLh4y0Oj9LC4lxiZTOfWARU=";

  ldflags = [ "-s" "-w" ];
  ldflags = [ "-s" "-w" "-X github.com/bitmagnet-io/bitmagnet/internal/version.GitTag=v${version}" ];

  passthru = {
    updateScript = nix-update-script { };