about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/nomad
diff options
context:
space:
mode:
authorTomek Mańko <tomek.manko@railgun-solutions.com>2024-05-31 22:25:02 +0200
committerTomek Mańko <tomek.manko@railgun-solutions.com>2024-05-31 22:25:02 +0200
commit63abc9b9679d2373ac6dbc95ab518fce521d467d (patch)
treefcd2cd728938a656cbdbb4695e8c187615d50b87 /pkgs/applications/networking/cluster/nomad
parent966c80eaccd8f860cc3a259fdd01bf3f95bd49ce (diff)
nomad: fix versioning for 1.8
Diffstat (limited to 'pkgs/applications/networking/cluster/nomad')
-rw-r--r--pkgs/applications/networking/cluster/nomad/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/nomad/default.nix b/pkgs/applications/networking/cluster/nomad/default.nix
index dca404c73db28..d90124cbc4ddf 100644
--- a/pkgs/applications/networking/cluster/nomad/default.nix
+++ b/pkgs/applications/networking/cluster/nomad/default.nix
@@ -82,6 +82,18 @@ rec {
 
   nomad_1_7 = generic {
     buildGoModule = buildGo121Module;
+    version = "1.7.7";
+    sha256 = "sha256-4nuRheidR6rIoytrnDQdIP69f+sBLJ3Ias5DvqVaLFc=";
+    vendorHash = "sha256-ZuaD8iDsT+/eW0QUavf485R804Jtjl76NcQWYHA8QII=";
+    license = lib.licenses.bsl11;
+    passthru.tests.nomad = nixosTests.nomad;
+    preCheck = ''
+      export PATH="$PATH:$NIX_BUILD_TOP/go/bin"
+    '';
+  };
+
+  nomad_1_8 = generic {
+    buildGoModule = buildGo121Module;
     version = "1.8.0";
     sha256 = "sha256-j/9wvnxYhv6h344904cO2Fi6pNeSV5IfcqS4mSjDqpo=";
     vendorHash = "sha256-jNdLLs/mfARl5Uk9RalwSDFLAKqIISEkek3l1wV8EYE=";