Commit 3e9c905d authored by techknowlogick's avatar techknowlogick
Browse files
parent 9d4343b7
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -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 = ''