Unverified Commit ec5b8735 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

nomad: nomad_1_7 -> nomad_1_8, nomad_1_9: init at 1.9.0 (#349151)

parents 9c85f9aa 41bf8eb2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -448,7 +448,9 @@
  before changing the package to `pkgs.stalwart-mail` in
  [`services.stalwart-mail.package`](#opt-services.stalwart-mail.package).

- The `nomad_1_5` package was dropped, as [it has reached end-of-life upstream](https://support.hashicorp.com/hc/en-us/articles/360021185113-Support-Period-and-End-of-Life-EOL-Policy). Evaluating it will throw an error.
- The `nomad_1_5` and `nomad_1_6` package were dropped, as [they have reached end-of-life upstream](https://support.hashicorp.com/hc/en-us/articles/360021185113-Support-Period-and-End-of-Life-EOL-Policy). Evaluating them will throw an error.

- The default `nomad` package has been updated to 1.8.x. For more information, see [breaking changes for Nomad 1.8](https://developer.hashicorp.com/nomad/docs/upgrade/upgrade-specific#nomad-1-8-0)

- `androidndkPkgs` has been updated to `androidndkPkgs_26`.

+14 −1
Original line number Diff line number Diff line
{ lib
, buildGoModule
, buildGo122Module
, buildGo123Module
, fetchFromGitHub
, nixosTests
, installShellFiles
@@ -54,7 +55,7 @@ rec {
  # Upstream partially documents used Go versions here
  # https://github.com/hashicorp/nomad/blob/master/contributing/golang.md

  nomad = nomad_1_7;
  nomad = nomad_1_8;

  nomad_1_4 = throwUnsupportaed "nomad_1_4";

@@ -85,4 +86,16 @@ rec {
      export PATH="$PATH:$NIX_BUILD_TOP/go/bin"
    '';
  };

  nomad_1_9 = generic {
    buildGoModule = buildGo123Module;
    version = "1.9.0";
    sha256 = "sha256-MJNPYSH3KsRmGQeOcWw4VvDeFGinfsyGSo4q3OdOZo8=";
    vendorHash = "sha256-Ss/qwQ14VUu40nXaIgTfNuj95ekTTVrY+zcStFDSCyI=";
    license = lib.licenses.bsl11;
    passthru.tests.nomad = nixosTests.nomad;
    preCheck = ''
      export PATH="$PATH:$NIX_BUILD_TOP/go/bin"
    '';
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -10262,6 +10262,7 @@ with pkgs;
    nomad_1_6
    nomad_1_7
    nomad_1_8
    nomad_1_9
    ;
  nomad-autoscaler = callPackage ../applications/networking/cluster/nomad-autoscaler { };