exo: add update script

This commit is contained in:
Gaetan Lepage 2024-11-15 14:41:40 +01:00
parent 2181348c4d
commit 6a821c2038

View File

@ -3,6 +3,7 @@
stdenv,
fetchFromGitHub,
python3Packages,
unstableGitUpdater,
}:
python3Packages.buildPythonApplication {
pname = "exo";
@ -64,6 +65,12 @@ python3Packages.buildPythonApplication {
# Tests require `mlx` which is not supported on linux.
doCheck = stdenv.isDarwin;
passthru = {
updateScript = unstableGitUpdater {
hardcodeZeroVersion = true;
};
};
meta = {
description = "Run your own AI cluster at home with everyday devices";
homepage = "https://github.com/exo-explore/exo";