From 4c6570f29cdce7977d13b61786a79efa76a3d504 Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Tue, 4 Jan 2022 20:07:41 -0500 Subject: [PATCH] nomad: 1.1.8 -> 1.2.3 --- pkgs/applications/networking/cluster/nomad/1.2.nix | 12 ++++++++++++ .../networking/cluster/nomad/generic.nix | 2 +- pkgs/top-level/all-packages.nix | 7 ++++++- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 pkgs/applications/networking/cluster/nomad/1.2.nix diff --git a/pkgs/applications/networking/cluster/nomad/1.2.nix b/pkgs/applications/networking/cluster/nomad/1.2.nix new file mode 100644 index 000000000000..1bf38a8457b5 --- /dev/null +++ b/pkgs/applications/networking/cluster/nomad/1.2.nix @@ -0,0 +1,12 @@ +{ callPackage +, buildGoModule +, nvidia_x11 +, nvidiaGpuSupport +}: + +callPackage ./genericModule.nix { + inherit buildGoModule nvidia_x11 nvidiaGpuSupport; + version = "1.2.3"; + sha256 = "0qjj1pnq2yv4r8dv03m08ii4118drjnswf4n1r95dqh8j3bymv5i"; + vendorSha256 = "0djh2184yg4b656wbhzxg1q1hsdnbrwsk79vc0426d0mqbzyy7dx"; +} diff --git a/pkgs/applications/networking/cluster/nomad/generic.nix b/pkgs/applications/networking/cluster/nomad/generic.nix index 586308dd424f..c028e476020a 100644 --- a/pkgs/applications/networking/cluster/nomad/generic.nix +++ b/pkgs/applications/networking/cluster/nomad/generic.nix @@ -44,6 +44,6 @@ buildGoPackage rec { description = "A Distributed, Highly Available, Datacenter-Aware Scheduler"; platforms = platforms.unix; license = licenses.mpl20; - maintainers = with maintainers; [ rushmorem pradeepchhetri endocrimes maxeaubrey ]; + maintainers = with maintainers; [ rushmorem pradeepchhetri endocrimes maxeaubrey techknowlogick ]; }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 9b6dc7344b9f..edb280a2aa0c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8071,7 +8071,7 @@ with pkgs; noip = callPackage ../tools/networking/noip { }; - nomad = nomad_1_1; + nomad = nomad_1_2; # Nomad never updates major go versions within a release series and is unsupported # on Go versions that it did not ship with. Due to historic bugs when compiled @@ -8088,6 +8088,11 @@ with pkgs; inherit (linuxPackages) nvidia_x11; nvidiaGpuSupport = config.cudaSupport or false; }; + nomad_1_2 = callPackage ../applications/networking/cluster/nomad/1.2.nix { + buildGoModule = buildGo117Module; + inherit (linuxPackages) nvidia_x11; + nvidiaGpuSupport = config.cudaSupport or false; + }; nomad-autoscaler = callPackage ../applications/networking/cluster/nomad-autoscaler { };