tabbyapi: unstable-2026-06-13 -> unstable-2026-06-27; nixos/tabbyapi: add writable HOME and cache (#536021)
This commit is contained in:
@@ -167,6 +167,13 @@ in
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
description = "TabbyAPI - OAI compatible server for Exllama";
|
||||
|
||||
# Triton & huggingface downloader need writable cache folders
|
||||
environment = {
|
||||
HOME = "/var/lib/tabbyapi";
|
||||
XDG_CACHE_HOME = "/var/lib/tabbyapi/.cache";
|
||||
TRITON_CACHE_DIR = "/tmp/triton";
|
||||
};
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${lib.getExe cfg.package} --config=${configFile}";
|
||||
Restart = "on-failure";
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
}:
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "tabbyapi";
|
||||
version = "0-unstable-2026-06-13";
|
||||
version = "0-unstable-2026-06-27";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "theroyallab";
|
||||
repo = "tabbyAPI";
|
||||
rev = "54850882315d509c984f9fe07fb8f5d04a0b4ba9";
|
||||
hash = "sha256-rIpI3pCJtfU1AEHBwQCIwuOh4c14N/z8VlX0hdxOC60=";
|
||||
rev = "3cf468c28362c28be1c8fc731ce1ccaf7b2206d0";
|
||||
hash = "sha256-s97YFyij2/oYlClmV2laDrCkkoK4uVZgRsn5WwftLag=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
|
||||
Reference in New Issue
Block a user