Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2184d7649722
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 132835fa4c99
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 16, 2021

  1. victoriametrics: 1.42.0 -> 1.52.0

    Also move from buildGoPackage to buildGoModule.
    flokli committed Jan 16, 2021
    Copy the full SHA
    a0bc587 View commit details

Commits on Jan 17, 2021

  1. Merge pull request #109575 from flokli/victoriametrics-1.52.0

    victoriametrics: 1.42.0 -> 1.52.0
    marsam authored Jan 17, 2021
    Copy the full SHA
    132835f View commit details
Showing with 6 additions and 6 deletions.
  1. +6 −6 pkgs/servers/nosql/victoriametrics/default.nix
12 changes: 6 additions & 6 deletions pkgs/servers/nosql/victoriametrics/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:

buildGoPackage rec {
buildGoModule rec {
pname = "VictoriaMetrics";
version = "1.42.0";
version = "1.52.0";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "10da15i3rn11dxnh82czaa2f9a4c3vf1d8kgfayp0dl7xs1xqhsd";
sha256 = "1sqzpr48sylgiy4zaf3f8hnwzv7imf57bxg6sin9lv291ybhxs68";
};

goPackagePath = "github.com/VictoriaMetrics/VictoriaMetrics";
vendorSha256 = null;

buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/lib/buildinfo.Version=${version}" ];
buildFlagsArray = [ "-ldflags=-s -w -X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ];

passthru.tests = { inherit (nixosTests) victoriametrics; };