diff options
| author | Matt Sturgeon <matt@sturgeon.me.uk> | 2025-06-20 10:57:28 +0100 |
|---|---|---|
| committer | Matt Sturgeon <matt@sturgeon.me.uk> | 2025-06-24 15:45:58 +0100 |
| commit | 2414fefb794f861708d303d84aee72b2dd7300af (patch) | |
| tree | 4486948d993bbfd494e2ed9e4065016f29d2e673 /pkgs/development/python-modules/httpserver | |
| parent | 39a90ff6d49f0b33db8100eb3a084c933e850d4d (diff) | |
python3Packages.chromadb: improve doCheck condition
On aarch64-linux onnxruntime cannot be imported, as it attempts to read
/sys/devices/system/cpu, which does not exist in the sandbox.
As onnxruntime cannot be imported, chromadb cannot be tested.
However, this issue only applies in the build sandbox, not at runtime.
Therefore the package doesn't need to be marked broken.
Updated the condition to check `buildPlatform` instead of `hostPlatform`,
as the issue relates to the build sandbox and is not a runtime issue.
Use `isAarch` and `isLinux` attributes instead of doing string comparison.
---
See https://github.com/NixOS/nixpkgs/pull/412528#discussion_r2129396116
And upstream onnxruntime issue: https://github.com/microsoft/onnxruntime/issues/10038
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
