nix: correct ldflags

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I5806b91c9dc1dfa9690a6e01cd29059b6a6a6964
This commit is contained in:
raf 2026-03-02 22:08:34 +03:00
commit dc6b6e0c0c
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -22,7 +22,7 @@ buildGoModule (finalAttrs: {
vendorHash = "sha256-jMqPVvMZDm406Gi2g4zNSRJMySLAN7/CR/2NgF+gqtA=";
ldflags = ["-s" "-w" "-X main.version=${finalAttrs.version}"];
ldflags = ["-s" "-w" "-X main.Version=${finalAttrs.version}"];
# Copy web assets
postInstall = ''