Loading pkgs/servers/monitoring/mimir/default.nix +9 −3 Original line number Diff line number Diff line { lib, buildGoModule, fetchFromGitHub, nixosTests }: { lib, buildGoModule, fetchFromGitHub, nixosTests, nix-update-script }: buildGoModule rec { pname = "mimir"; version = "2.5.0"; Loading @@ -17,9 +17,15 @@ buildGoModule rec { "cmd/mimirtool" ]; passthru.tests = { passthru = { updateScript = nix-update-script { attrPath = pname; extraArgs = [ "--version-regex" "mimir-([0-9.]+)" ]; }; tests = { inherit (nixosTests) mimir; }; }; ldflags = let t = "github.com/grafana/mimir/pkg/util/version"; in [ Loading Loading
pkgs/servers/monitoring/mimir/default.nix +9 −3 Original line number Diff line number Diff line { lib, buildGoModule, fetchFromGitHub, nixosTests }: { lib, buildGoModule, fetchFromGitHub, nixosTests, nix-update-script }: buildGoModule rec { pname = "mimir"; version = "2.5.0"; Loading @@ -17,9 +17,15 @@ buildGoModule rec { "cmd/mimirtool" ]; passthru.tests = { passthru = { updateScript = nix-update-script { attrPath = pname; extraArgs = [ "--version-regex" "mimir-([0-9.]+)" ]; }; tests = { inherit (nixosTests) mimir; }; }; ldflags = let t = "github.com/grafana/mimir/pkg/util/version"; in [ Loading