Merge pull request #334391 from abysssol/ollama-test-condition
ollama: only run service test on linux
This commit is contained in:
commit
d2e71921a2
@ -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