Skip to content

Commit be4ad2d

Browse files
committed
grafana-loki: add updateScript
1 parent 1146c44 commit be4ad2d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

pkgs/by-name/gr/grafana-loki/package.nix

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
buildGoModule,
55
fetchFromGitHub,
66
makeWrapper,
7+
nix-update-script,
78
nixosTests,
89
systemd,
910
testers,
@@ -42,12 +43,16 @@ buildGoModule rec {
4243
--prefix LD_LIBRARY_PATH : "${lib.getLib systemd}/lib"
4344
'';
4445

45-
passthru.tests = {
46-
inherit (nixosTests) loki;
47-
version = testers.testVersion {
48-
command = "loki --version";
49-
package = grafana-loki;
46+
passthru = {
47+
tests = {
48+
inherit (nixosTests) loki;
49+
version = testers.testVersion {
50+
command = "loki --version";
51+
package = grafana-loki;
52+
};
5053
};
54+
55+
updateScript = nix-update-script { };
5156
};
5257

5358
ldflags =

0 commit comments

Comments
 (0)