Unverified Commit 0c0ef784 authored by Adam Stephens's avatar Adam Stephens
Browse files

ollama: add updateScript

parent fa09c7cc
Loading
Loading
Loading
Loading
+18 −13
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  makeWrapper,
  stdenv,
  addDriverRunpath,
  nix-update-script,

  cmake,
  gcc12,
@@ -199,7 +200,8 @@ goBuild {
    "-X=github.com/ollama/ollama/server.mode=release"
  ];

  passthru.tests =
  passthru = {
    tests =
      {
        inherit ollama;
        version = testers.testVersion {
@@ -214,6 +216,9 @@ goBuild {
        service-rocm = nixosTests.ollama-rocm;
      };

    updateScript = nix-update-script { };
  };

  meta = {
    description =
      "Get up and running with large language models locally"