Skip to content

Commit 3e9c905

Browse files
nomad_1_9: 1.9.0 -> 1.9.2
Diff: hashicorp/nomad@v1.9.0...v1.9.2
1 parent 9d4343b commit 3e9c905

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

pkgs/applications/networking/cluster/nomad/default.nix

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ let
2727

2828
nativeBuildInputs = [ installShellFiles ];
2929

30+
ldflags = [
31+
"-X github.com/hashicorp/nomad/version.Version=${version}"
32+
"-X github.com/hashicorp/nomad/version.VersionPrerelease="
33+
"-X github.com/hashicorp/nomad/version.BuildDate=1970-01-01T00:00:00Z"
34+
];
35+
3036
# ui:
3137
# Nomad release commits include the compiled version of the UI, but the file
3238
# is only included if we build with the ui tag.
@@ -89,9 +95,9 @@ rec {
8995

9096
nomad_1_9 = generic {
9197
buildGoModule = buildGo123Module;
92-
version = "1.9.0";
93-
sha256 = "sha256-MJNPYSH3KsRmGQeOcWw4VvDeFGinfsyGSo4q3OdOZo8=";
94-
vendorHash = "sha256-Ss/qwQ14VUu40nXaIgTfNuj95ekTTVrY+zcStFDSCyI=";
98+
version = "1.9.2";
99+
sha256 = "sha256-HIyRzujAGwhB2anbxidhq5UpWYHkigyyHfxIUwMF5X8=";
100+
vendorHash = "sha256-YIOTdD+oRDdEHkBzQCUuKCz7Wbj4mFjrZY0J3Cte400=";
95101
license = lib.licenses.bsl11;
96102
passthru.tests.nomad = nixosTests.nomad;
97103
preCheck = ''

0 commit comments

Comments
 (0)