From 3e9c905d355a97f4fa614274f89237ec29db10bc Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Thu, 7 Nov 2024 14:30:55 -0500 Subject: [PATCH] nomad_1_9: 1.9.0 -> 1.9.2 Diff: https://github.com/hashicorp/nomad/compare/v1.9.0...v1.9.2 --- .../networking/cluster/nomad/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/cluster/nomad/default.nix b/pkgs/applications/networking/cluster/nomad/default.nix index a0998eb6fa36..e8b9fe8df1a4 100644 --- a/pkgs/applications/networking/cluster/nomad/default.nix +++ b/pkgs/applications/networking/cluster/nomad/default.nix @@ -27,6 +27,12 @@ let nativeBuildInputs = [ installShellFiles ]; + ldflags = [ + "-X github.com/hashicorp/nomad/version.Version=${version}" + "-X github.com/hashicorp/nomad/version.VersionPrerelease=" + "-X github.com/hashicorp/nomad/version.BuildDate=1970-01-01T00:00:00Z" + ]; + # ui: # Nomad release commits include the compiled version of the UI, but the file # is only included if we build with the ui tag. @@ -89,9 +95,9 @@ rec { nomad_1_9 = generic { buildGoModule = buildGo123Module; - version = "1.9.0"; - sha256 = "sha256-MJNPYSH3KsRmGQeOcWw4VvDeFGinfsyGSo4q3OdOZo8="; - vendorHash = "sha256-Ss/qwQ14VUu40nXaIgTfNuj95ekTTVrY+zcStFDSCyI="; + version = "1.9.2"; + sha256 = "sha256-HIyRzujAGwhB2anbxidhq5UpWYHkigyyHfxIUwMF5X8="; + vendorHash = "sha256-YIOTdD+oRDdEHkBzQCUuKCz7Wbj4mFjrZY0J3Cte400="; license = lib.licenses.bsl11; passthru.tests.nomad = nixosTests.nomad; preCheck = ''