Skip to content

Commit

Permalink
ollama: only set updateScript for ollama, not ollama-{rocm,cuda}
Browse files Browse the repository at this point in the history
  • Loading branch information
abysssol committed Sep 26, 2024
1 parent 9c2023e commit 9a3eba0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkgs/by-name/ol/ollama/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,7 @@ goBuild {
service-cuda = nixosTests.ollama-cuda;
service-rocm = nixosTests.ollama-rocm;
};

updateScript = nix-update-script { };
};
} // lib.optionalAttrs (!enableRocm && !enableCuda) { updateScript = nix-update-script { }; };

meta = {
description =
Expand Down

0 comments on commit 9a3eba0

Please sign in to comment.