nomad: add 0.12, multi-version support #93197
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
This commit adds Nomad 0.12 to nixpkgs, but introduces it as an
additional version that is available for install, while keeping 0.11 as
the default.
The reason for introducing it as a seperate version track is that it can
be dangerous to update to early versions of HashiCorp software, and this
allows users to gradually update their Server/Client nodes as required.
My plan for version support is Last 0.x, Current 0.y, and Beta 0.z, with
the
nomad
tag updating tocurrent
when the current release reachessome level of stability (around 0.y.2-3 or so).
This is my first time with a contribution that is outside of
adding/updating modules/packages, so let me know if this should have a
different commit structure.
Thanks!
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)