From 40f4f42d22e2817fea642848e4dd3c2953ad177f Mon Sep 17 00:00:00 2001 From: Sergey Yakovlev Date: Tue, 23 Apr 2024 18:42:14 +0300 Subject: [PATCH] cue: fix version format --- pkgs/by-name/cu/cue/package.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/cu/cue/package.nix b/pkgs/by-name/cu/cue/package.nix index f8185f7c347f..87b740b36e21 100644 --- a/pkgs/by-name/cu/cue/package.nix +++ b/pkgs/by-name/cu/cue/package.nix @@ -24,7 +24,7 @@ buildGoModule rec { nativeBuildInputs = [ installShellFiles ]; - ldflags = [ "-s" "-w" "-X cuelang.org/go/cmd/cue/cmd.version=${version}" ]; + ldflags = [ "-s" "-w" ]; postInstall = '' installShellCompletion --cmd cue \ @@ -40,6 +40,7 @@ buildGoModule rec { version = testers.testVersion { package = cue; command = "cue version"; + version = "v${version}"; }; }; };