From 4a843da662c40ef9fc9ecdf5b69057fe407a5acb Mon Sep 17 00:00:00 2001 From: emilylange Date: Tue, 5 Mar 2024 01:55:34 +0100 Subject: [PATCH] dnscontrol: fix version reporting (again) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 10faf49380cf70a145d93d9c04c8fe06793f381c ~~~ # before ❯ dnscontrol version DNSControl version dev # after ❯ dnscontrol version DNSControl version 4.8.2 ~~~ --- pkgs/applications/networking/dnscontrol/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/dnscontrol/default.nix b/pkgs/applications/networking/dnscontrol/default.nix index ae4fc0a4e3b7..911d96212b1b 100644 --- a/pkgs/applications/networking/dnscontrol/default.nix +++ b/pkgs/applications/networking/dnscontrol/default.nix @@ -15,7 +15,7 @@ buildGoModule rec { subPackages = [ "." ]; - ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; + ldflags = [ "-s" "-w" "-X=main.version=${version}" ]; preCheck = '' # requires network