about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorDennis Gosnell <cdep.illabout@gmail.com>2023-06-19 07:29:34 +0900
committerGitHub <noreply@github.com>2023-06-19 07:29:34 +0900
commit9a1570b7e996d995fd770a795e9ef97f29475210 (patch)
tree04058fe56648a60c58982c7bc45324654c3d2b0d /pkgs/applications/networking
parentf4b5cda2db49540179fa4e66eb2a1c2171c900f3 (diff)
parentfcd547d4a627261e4940fadf755f8150130af579 (diff)
Merge pull request #226429 from MagicRB/master
nomad_1_5: init
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/cluster/nomad/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/nomad/default.nix b/pkgs/applications/networking/cluster/nomad/default.nix
index 3bb12d740b984..b31c776c88d66 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"
+    '';
+  };
 }