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 df06134 commit c86c553Copy full SHA for c86c553
pkgs/by-name/gq/gqlgenc/package.nix
@@ -5,14 +5,14 @@
5
versionCheckHook,
6
}:
7
8
-buildGoModule rec {
+buildGoModule (finalAttrs: {
9
pname = "gqlgenc";
10
version = "0.32.1";
11
12
src = fetchFromGitHub {
13
owner = "yamashou";
14
repo = "gqlgenc";
15
- rev = "v${version}";
+ rev = "v${finalAttrs.version}";
16
sha256 = "sha256-AGbE+R3502Igl4/HaN8yvFVJBsKQ6iVff8IEvddJLEo=";
17
};
18
@@ -26,7 +26,7 @@ buildGoModule rec {
26
27
ldflags = [
28
"-X"
29
- "main.version=${version}"
+ "main.version=${finalAttrs.version}"
30
];
31
32
doInstallCheck = true;
@@ -44,4 +44,4 @@ buildGoModule rec {
44
license = licenses.mit;
45
maintainers = with maintainers; [ wattmto ];
46
47
-}
+})
0 commit comments