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 ba45abb commit 74453f2Copy full SHA for 74453f2
pkgs/by-name/f2/f2/package.nix
@@ -4,14 +4,14 @@
4
buildGoModule,
5
}:
6
7
-buildGoModule rec {
+buildGoModule (finalAttrs: {
8
pname = "f2";
9
version = "2.1.1";
10
11
src = fetchFromGitHub {
12
owner = "ayoisaiah";
13
repo = "f2";
14
- tag = "v${version}";
+ tag = "v${finalAttrs.version}";
15
hash = "sha256-hl4giLTQtqJiPseiTzWPtksEYlyQpE1UOC7JMUF9v4Y=";
16
};
17
@@ -20,7 +20,7 @@ buildGoModule rec {
20
ldflags = [
21
"-s"
22
"-w"
23
- "-X=github.com/ayoisaiah/f2/v2/app.VersionString=${version}"
+ "-X=github.com/ayoisaiah/f2/v2/app.VersionString=${finalAttrs.version}"
24
];
25
26
# has no tests
@@ -33,4 +33,4 @@ buildGoModule rec {
33
maintainers = with lib.maintainers; [ zendo ];
34
mainProgram = "f2";
35
36
-}
+})
0 commit comments