diff --git a/pkgs/applications/networking/cluster/nomad/default.nix b/pkgs/applications/networking/cluster/nomad/default.nix index 3bb12d740b98..b31c776c88d6 100644 --- a/pkgs/applications/networking/cluster/nomad/default.nix +++ b/pkgs/applications/networking/cluster/nomad/default.nix @@ -74,4 +74,15 @@ rec { vendorSha256 = "sha256-05BhKF6kx0wbu74cidpTFhUN668R/AxV6qWmchCm/WE="; passthru.tests.nomad = nixosTests.nomad; }; + + nomad_1_5 = generic { + buildGoModule = buildGo120Module; + version = "1.5.6"; + sha256 = "sha256-eFzGaTJ9BcK5F10lkTKB3sNaGZsmZ0BbPZI6kT5ZUpo="; + vendorSha256 = "sha256-tOUQr44wUhhCccvj4dCI7fvLMrKaEX7xY7035Q3wU3M="; + passthru.tests.nomad = nixosTests.nomad; + preCheck = '' + export PATH="$PATH:/build/go/bin" + ''; + }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 60667e7d4c69..aa423ebb4e69 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10574,6 +10574,7 @@ with pkgs; nomad_1_2 nomad_1_3 nomad_1_4 + nomad_1_5 ; nomad-autoscaler = callPackage ../applications/networking/cluster/nomad-autoscaler { };