feed2imap-go: Set correct LDFLAGS

As is common in Go, version information in the binary is set at compile
time via LDFLAGS.

+6
+6
pkgs/applications/networking/feedreaders/feed2imap-go/default.nix
··· 11 11 sha256 = "sha256-Qtpg8DvIFkba+Do8IwemBF0rt85wS4Tq7yOLsdpQFCs="; 12 12 }; 13 13 14 + ldflags = [ 15 + "-s" "-w" 16 + "-X github.com/Necoro/feed2imap-go/pkg/version.version=${version}" 17 + "-X github.com/Necoro/feed2imap-go/pkg/version.commit=nixpkgs" 18 + ]; 19 + 14 20 vendorHash = "sha256-WFbfSzU1N2RAOMfCM7wqiAQ6R1HRaT0EfX4KYhstHJU="; 15 21 16 22 # The print-cache tool is not an end-user tool (https://github.com/Necoro/feed2imap-go/issues/94)