about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/nomad
diff options
context:
space:
mode:
authorEtienne Bruines <e.bruines@q-mex.net>2023-07-19 17:20:03 +0200
committerEtienne Bruines <e.bruines@q-mex.net>2023-07-19 17:20:03 +0200
commitf6aee698798e55c0c7f77853c66e1614b6ad83f9 (patch)
tree90e5aba0249dbbf76755131b8435c43628c729ff /pkgs/applications/networking/cluster/nomad
parent0665253b864c4b725c19337b2b1971158f55b16f (diff)
nomad_1_6: init
Diffstat (limited to 'pkgs/applications/networking/cluster/nomad')
-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 46cbafff2ad97..c54ed70b530c2 100644
--- a/pkgs/applications/networking/cluster/nomad/default.nix
+++ b/pkgs/applications/networking/cluster/nomad/default.nix
@@ -85,4 +85,15 @@ rec {
       export PATH="$PATH:/build/go/bin"
     '';
   };
+
+  nomad_1_6 = generic {
+    buildGoModule = buildGo120Module;
+    version = "1.6.0";
+    sha256 = "sha256-979SlqBu2/kUdPB4BplhOcEq0J2sjKmFkEiLOzOAUPM=";
+    vendorSha256 = "sha256-Y3O7ADzZPlLWFbXSYBcI6b5MAhMD0UnkhQxO9VJMpOY=";
+    passthru.tests.nomad = nixosTests.nomad;
+    preCheck = ''
+      export PATH="$PATH:/build/go/bin"
+    '';
+  };
 }