about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCottand <nico.dc@outlook.com>2024-01-19 22:17:01 +0000
committerCottand <nico.dc@outlook.com>2024-01-24 08:56:58 +0000
commit36cd764d38b5b72932a275d2f3a21d2c7f79baf6 (patch)
tree7c0800f50e5a1c7dfc0a94a51f9fe0df5677e2b7
parenta849fcd7f4b97815b9b09e0a398aa6683f22c97e (diff)
downloadnixlib-36cd764d38b5b72932a275d2f3a21d2c7f79baf6.tar
nixlib-36cd764d38b5b72932a275d2f3a21d2c7f79baf6.tar.gz
nixlib-36cd764d38b5b72932a275d2f3a21d2c7f79baf6.tar.bz2
nixlib-36cd764d38b5b72932a275d2f3a21d2c7f79baf6.tar.lz
nixlib-36cd764d38b5b72932a275d2f3a21d2c7f79baf6.tar.xz
nixlib-36cd764d38b5b72932a275d2f3a21d2c7f79baf6.tar.zst
nixlib-36cd764d38b5b72932a275d2f3a21d2c7f79baf6.zip
nixos: release notes for nomad breaking changes
-rw-r--r--nixos/doc/manual/release-notes/rl-2405.section.md6
-rw-r--r--pkgs/applications/networking/cluster/nomad/default.nix2
2 files changed, 7 insertions, 1 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md
index 7be90e590085..035261155d31 100644
--- a/nixos/doc/manual/release-notes/rl-2405.section.md
+++ b/nixos/doc/manual/release-notes/rl-2405.section.md
@@ -194,6 +194,12 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
 
   - The `-data` path is no longer required to run the package, and will be set to point to a folder in `$TMP` if missing.
 
+- `nomad` has been updated - note that HashiCorp recommends updating one minor version at a time. Please check [their upgrade guide](https://developer.hashicorp.com/nomad/docs/upgrade) for information on safely updating clusters and potential breaking changes.
+
+  - `nomad` is now Nomad 1.7.x.
+
+  - `nomad_1_4` has been removed, as it is now unsupported upstream.
+
 ## Other Notable Changes {#sec-release-24.05-notable-changes}
 
 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
diff --git a/pkgs/applications/networking/cluster/nomad/default.nix b/pkgs/applications/networking/cluster/nomad/default.nix
index f4f8b4106dee..10c00fc96f5e 100644
--- a/pkgs/applications/networking/cluster/nomad/default.nix
+++ b/pkgs/applications/networking/cluster/nomad/default.nix
@@ -53,7 +53,7 @@ rec {
 
   nomad = nomad_1_7;
 
-  nomad_1_4 = throw "nomad_1_4 was removed - you can use nomad_1_5 or an older nixpkgs revision";
+  nomad_1_4 = throw "nomad_1_4 is no longer supported upstream. You can switch to using a newer version of the nomad package, or revert to older nixpkgs if you cannot upgrade";
 
   nomad_1_5 = generic {
     buildGoModule = buildGo121Module;