mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
ollama: only run service test on linux
Darwin currently attempts to build the nixos test, but is unable to, which causes the whole `passthru.tests` on darwin to fail.
This commit is contained in:
parent
11555c7701
commit
57ce70f361
@ -213,7 +213,6 @@ goBuild (
|
||||
passthru.tests =
|
||||
{
|
||||
inherit ollama;
|
||||
service = nixosTests.ollama;
|
||||
version = testers.testVersion {
|
||||
inherit version;
|
||||
package = ollama;
|
||||
@ -221,6 +220,7 @@ goBuild (
|
||||
}
|
||||
// lib.optionalAttrs stdenv.isLinux {
|
||||
inherit ollama-rocm ollama-cuda;
|
||||
service = nixosTests.ollama;
|
||||
service-cuda = nixosTests.ollama-cuda;
|
||||
service-rocm = nixosTests.ollama-rocm;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user