nix: correct ldflags
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I5806b91c9dc1dfa9690a6e01cd29059b6a6a6964
This commit is contained in:
parent
27b3641717
commit
dc6b6e0c0c
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ buildGoModule (finalAttrs: {
|
||||||
|
|
||||||
vendorHash = "sha256-jMqPVvMZDm406Gi2g4zNSRJMySLAN7/CR/2NgF+gqtA=";
|
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
|
# Copy web assets
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue