dnscontrol: fix version reporting (again)

Upstream changed the case of the `main.version` ldflag as part of
https://github.com/StackExchange/dnscontrol/releases/tag/v4.8.1

This seems to have slipped through the 4.7.3 -> 4.8.1 bump in
10faf49380

~~~
# before
❯ dnscontrol version
DNSControl version dev

# after
❯ dnscontrol version
DNSControl version 4.8.2
~~~
This commit is contained in:
emilylange 2024-03-05 01:55:34 +01:00
parent 788f65a3d7
commit 4a843da662
No known key found for this signature in database
GPG Key ID: 0AD773CE46FD0F87

View File

@ -15,7 +15,7 @@ buildGoModule rec {
subPackages = [ "." ];
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
ldflags = [ "-s" "-w" "-X=main.version=${version}" ];
preCheck = ''
# requires network