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: 91a714000ac5
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1d5c71759b8e
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 29, 2019

  1. Copy the full SHA
    ef8d146 View commit details

Commits on Oct 30, 2019

  1. Merge pull request #72264 from thefloweringash/sensu-go-update

    sensu-go: 5.11.0 -> 5.14.1
    lsix authored Oct 30, 2019
    Copy the full SHA
    1d5c717 View commit details
Showing with 8 additions and 6 deletions.
  1. +8 −6 pkgs/servers/monitoring/sensu-go/default.nix
14 changes: 8 additions & 6 deletions pkgs/servers/monitoring/sensu-go/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{ buildGoPackage, fetchFromGitHub, lib }:
{ buildGoModule, fetchFromGitHub, lib }:

let
generic = { subPackages, pname, postInstall ? "" }:
buildGoPackage rec {
buildGoModule rec {
inherit pname;
version = "5.11.0";
shortRev = "dd8f160"; # for internal version info
version = "5.14.1";
shortRev = "1f6d16b"; # for internal version info

goPackagePath = "github.com/sensu/sensu-go";

src = fetchFromGitHub {
owner = "sensu";
repo = "sensu-go";
rev = version;
sha256 = "05dx0nxcjl6fy68br2a37j52iz71kvqnqp29swcif2nwvq7w8mxx";
rev = "v${version}";
sha256 = "1fhvw2hrn2zqpz3ypsx6i1zrn83pdifvsyzpbhzxmff6l9a290bq";
};

inherit subPackages postInstall;

modSha256 = "0c0cj0ylhifyb7l9kjmgdlfzcz8528fzw8kr3c5y7j5h6pih06sy";

buildFlagsArray = let
versionPkg = "github.com/sensu/sensu-go/version";
in ''