We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99a2276 commit 51af7d6Copy full SHA for 51af7d6
pkgs/by-name/jj/jj/package.nix
@@ -8,14 +8,14 @@
8
runCommand,
9
jj,
10
}:
11
-buildGoModule rec {
+buildGoModule (finalAttrs: {
12
pname = "jj";
13
version = "1.9.2";
14
15
src = fetchFromGitHub {
16
owner = "tidwall";
17
repo = "jj";
18
- rev = "v${version}";
+ rev = "v${finalAttrs.version}";
19
hash = "sha256-Yijap5ZghTBe1ahkQgjjxuo++SriJWXgRqrNXIVQ0os=";
20
};
21
@@ -28,7 +28,7 @@ buildGoModule rec {
28
ldflags = [
29
"-s"
30
"-w"
31
- "-X main.version=${version}"
+ "-X main.version=${finalAttrs.version}"
32
];
33
34
passthru = {
@@ -71,4 +71,4 @@ buildGoModule rec {
71
mainProgram = "jj";
72
maintainers = with maintainers; [ katexochen ];
73
74
-}
+})
0 commit comments