cue: fix version format

This commit is contained in:
Sergey Yakovlev 2024-04-23 18:42:14 +03:00
parent b3431dd54d
commit 40f4f42d22
No known key found for this signature in database

View File

@ -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}";
};
};
};