feat(voicestudio): add VoiceStudio from upstream's flake
VoiceStudio ships its own flake that builds the Electron app, the Rust dictation helper and the OmniVoice GGUF runtime. Re-export it instead of repackaging: its package needs electron_44-bin, which our pinned nixpkgs lacks, so the input keeps its own nixpkgs rather than following ours. Build and upstream's six packaging checks pass on x86_64-linux. Refs: nix-overlay-kk7
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
{"id":"nix-overlay-j2g","title":"Allow the kyojin Qwen server to block the host thread while HIP executes","description":"Expose model-scoped opt-in hipDeviceScheduleBlockingSync in qwen/serve.py before model load, preserving non-scheduling flags and the existing default. On ms-s1-max default prefill and decode consume one CPU core in ROCr signal wait, verified by perf; verify the packaged path with real tool calls, CPU and latency.","status":"closed","priority":2,"issue_type":"task","assignee":"minder","created_at":"2026-11-18T18:03:00.852819489Z","created_by":"minder","updated_at":"2026-11-18T18:16:42.461414484Z","closed_at":"2026-11-18T18:16:42.460020486Z","close_reason":"Opt-in HIP blocking scheduling built and exercised on real Qwen agent requests. Arithmetic, sampler and default scheduling behavior are preserved.","source_repo":"nix-overlay","compaction_level":0,"original_size":0,"labels":["ready-for-agent"],"comments":[{"id":16,"issue_id":"nix-overlay-j2g","author":"minder","text":"Package scope: packages/kyojin/package.nix plus a Qwen serving patch and tracker export. Default spin behavior stays available; re-use the package HIP library loader.","created_at":"2026-11-18T18:03:17Z"},{"id":17,"issue_id":"nix-overlay-j2g","author":"minder","text":"The default Qwen host thread accumulates roughly one CPU-second per second in decode and prefill. perf userspace: InterruptSignal/BusyWaitSignal wait functions account for 76.12% of the decode samples and 92.39% in the 32K-dominated request. With blocking sync, the actual packaged server used 16.3% of one CPU on a cold 32K request, down from 104.9%; repeated 384-token decode about 37% versus 108%. All deterministic digests and tool receipts in the short suite matched. The first integration test caught an early import that latched EXL3 flags before qserve set them; the final patch installs the HIP policy after the existing EXL3 import in QwenEngine. Both stock and opted-in server entry points load normally. nix build --no-link .#kyojin and .#kyojin.passthru.tests.cpu passed, and treefmt --fail-on-change packages/kyojin/package.nix passed. Final tested package /nix/store/77ixf3l3qvws9v0i46asrrf45mhgiq1m-kyojin-1.8.26. Host and further agent A/B tracked in nixos-config-pm9f.","created_at":"2026-11-18T18:16:42Z"}]}
|
{"id":"nix-overlay-j2g","title":"Allow the kyojin Qwen server to block the host thread while HIP executes","description":"Expose model-scoped opt-in hipDeviceScheduleBlockingSync in qwen/serve.py before model load, preserving non-scheduling flags and the existing default. On ms-s1-max default prefill and decode consume one CPU core in ROCr signal wait, verified by perf; verify the packaged path with real tool calls, CPU and latency.","status":"closed","priority":2,"issue_type":"task","assignee":"minder","created_at":"2026-11-18T18:03:00.852819489Z","created_by":"minder","updated_at":"2026-11-18T18:16:42.461414484Z","closed_at":"2026-11-18T18:16:42.460020486Z","close_reason":"Opt-in HIP blocking scheduling built and exercised on real Qwen agent requests. Arithmetic, sampler and default scheduling behavior are preserved.","source_repo":"nix-overlay","compaction_level":0,"original_size":0,"labels":["ready-for-agent"],"comments":[{"id":16,"issue_id":"nix-overlay-j2g","author":"minder","text":"Package scope: packages/kyojin/package.nix plus a Qwen serving patch and tracker export. Default spin behavior stays available; re-use the package HIP library loader.","created_at":"2026-11-18T18:03:17Z"},{"id":17,"issue_id":"nix-overlay-j2g","author":"minder","text":"The default Qwen host thread accumulates roughly one CPU-second per second in decode and prefill. perf userspace: InterruptSignal/BusyWaitSignal wait functions account for 76.12% of the decode samples and 92.39% in the 32K-dominated request. With blocking sync, the actual packaged server used 16.3% of one CPU on a cold 32K request, down from 104.9%; repeated 384-token decode about 37% versus 108%. All deterministic digests and tool receipts in the short suite matched. The first integration test caught an early import that latched EXL3 flags before qserve set them; the final patch installs the HIP policy after the existing EXL3 import in QwenEngine. Both stock and opted-in server entry points load normally. nix build --no-link .#kyojin and .#kyojin.passthru.tests.cpu passed, and treefmt --fail-on-change packages/kyojin/package.nix passed. Final tested package /nix/store/77ixf3l3qvws9v0i46asrrf45mhgiq1m-kyojin-1.8.26. Host and further agent A/B tracked in nixos-config-pm9f.","created_at":"2026-11-18T18:16:42Z"}]}
|
||||||
{"id":"nix-overlay-j48","title":"Add purpleflow package","description":"Package PurpleFlow (PurpleSchool/purpleflow), an Electron orchestrator for claude/codex, from source. Repo: https://github.com/PurpleSchool/purpleflow","status":"closed","priority":2,"issue_type":"task","assignee":"minder","created_at":"2026-11-13T07:32:22.851076323Z","created_by":"minder","updated_at":"2026-11-13T07:40:08.109358347Z","closed_at":"2026-11-13T07:40:08.108248543Z","close_reason":"Completed: packages/purpleflow builds from source (nix build .#purpleflow -> /nix/store/ig3an708ycb4h9832m2965s60xc5a5ig-purpleflow-0.3.2); Electron app starts under Xvfb with no errors and creates its settings; README updated.","source_repo":"nix-overlay","compaction_level":0,"original_size":0}
|
{"id":"nix-overlay-j48","title":"Add purpleflow package","description":"Package PurpleFlow (PurpleSchool/purpleflow), an Electron orchestrator for claude/codex, from source. Repo: https://github.com/PurpleSchool/purpleflow","status":"closed","priority":2,"issue_type":"task","assignee":"minder","created_at":"2026-11-13T07:32:22.851076323Z","created_by":"minder","updated_at":"2026-11-13T07:40:08.109358347Z","closed_at":"2026-11-13T07:40:08.108248543Z","close_reason":"Completed: packages/purpleflow builds from source (nix build .#purpleflow -> /nix/store/ig3an708ycb4h9832m2965s60xc5a5ig-purpleflow-0.3.2); Electron app starts under Xvfb with no errors and creates its settings; README updated.","source_repo":"nix-overlay","compaction_level":0,"original_size":0}
|
||||||
{"id":"nix-overlay-ka5","title":"Add Strata with ROCm 10 HIP support for gfx1151","description":"Package Niko1221/Strata using the existing TheRock ROCm 10 SDK, compile HIP kernels for gfx1151, document usage, and verify build and CLI.","status":"closed","priority":2,"issue_type":"feature","assignee":"minder","created_at":"2026-11-12T18:13:13.558104256Z","created_by":"minder","updated_at":"2026-11-12T18:28:20.466366213Z","closed_at":"2026-11-12T18:28:20.465072110Z","close_reason":"Completed: Strata 0.2.13 builds with TheRock ROCm 10.0 for gfx1151; installed command checks, formatting, flake evaluation, HTTP health/models/OpenAI/Anthropic mock APIs pass. Upstream HIP intrinsics numerical parity passed on host Radeon 8060S. Engine starts with package runtime libraries (unset inherited LD_LIBRARY_PATH pointing to GCC 15). Full model inference not exercised.","source_repo":"nix-overlay","compaction_level":0,"original_size":0}
|
{"id":"nix-overlay-ka5","title":"Add Strata with ROCm 10 HIP support for gfx1151","description":"Package Niko1221/Strata using the existing TheRock ROCm 10 SDK, compile HIP kernels for gfx1151, document usage, and verify build and CLI.","status":"closed","priority":2,"issue_type":"feature","assignee":"minder","created_at":"2026-11-12T18:13:13.558104256Z","created_by":"minder","updated_at":"2026-11-12T18:28:20.466366213Z","closed_at":"2026-11-12T18:28:20.465072110Z","close_reason":"Completed: Strata 0.2.13 builds with TheRock ROCm 10.0 for gfx1151; installed command checks, formatting, flake evaluation, HTTP health/models/OpenAI/Anthropic mock APIs pass. Upstream HIP intrinsics numerical parity passed on host Radeon 8060S. Engine starts with package runtime libraries (unset inherited LD_LIBRARY_PATH pointing to GCC 15). Full model inference not exercised.","source_repo":"nix-overlay","compaction_level":0,"original_size":0}
|
||||||
|
{"id":"nix-overlay-kk7","title":"Add VoiceStudio package exposed through the overlay","description":"Track the flake input github:debpalash/VoiceStudio (v0.5.8) and packages/voicestudio, which re-exports upstream's flake package because our pinned nixpkgs has no electron_44-bin.","status":"closed","priority":2,"issue_type":"task","created_at":"2026-11-20T10:09:32.426719507Z","created_by":"minder","updated_at":"2026-11-20T10:09:35.769652770Z","closed_at":"2026-11-20T10:09:35.769131488Z","close_reason":"done","source_repo":"nix-overlay","compaction_level":0,"original_size":0}
|
||||||
{"id":"nix-overlay-kzh","title":"Autoload a calibrated Kyojin HC sidecar from the model directory","description":"ms-s1-max / Qwen: use hc_gs_sidecar.safetensors by convention with a verified model-local checksum. Keep Yamz signature and unknown-file fallback, isolate persisted state by the sidecar selected, and qualify a real load of the 6.05 bpw file without a sidecar environment setting.","status":"closed","priority":2,"issue_type":"task","assignee":"minder","created_at":"2026-11-19T11:50:52.697232601Z","created_by":"minder","updated_at":"2026-11-19T11:58:32.264165296Z","closed_at":"2026-11-19T11:58:32.258339526Z","close_reason":"Canonical model-local HC calibration verified end to end","source_repo":"nix-overlay","compaction_level":0,"original_size":0,"comments":[{"id":32,"issue_id":"nix-overlay-kzh","author":"minder","text":"Scope packages/kyojin/package.nix and one upstream server patch. Install the verified sidecar under the conventional name in the local 6.05 model folder, leaving model-specific env out of the test; run detector tests and a native private service check.","created_at":"2026-11-19T11:51:18Z"},{"id":33,"issue_id":"nix-overlay-kzh","author":"minder","text":"Built .#kyojin and evaluated and built ms-s1-max with a local input override. The old and new packages started privately with the same 6.05 bpw directory, 8192 ctx and one slot, with no external sidecar path or cache tag. Old: 0/97 sidecar sites (published SHA mismatch). New: 96 sidecar, 1 plain, 0 rejected. Separate disk namespaces, same public model ID. 6/6 tool calls and 6/6 structured responses correct. Qwen source suite in the ROCm environment: 120 tests, OK (1 skipped). nixfmt --check passed. Evidence: /DATA/LLMs/benchmark_results/kyojin-hc-calibration-20261119/autoload.json","created_at":"2026-11-19T11:58:32Z"}]}
|
{"id":"nix-overlay-kzh","title":"Autoload a calibrated Kyojin HC sidecar from the model directory","description":"ms-s1-max / Qwen: use hc_gs_sidecar.safetensors by convention with a verified model-local checksum. Keep Yamz signature and unknown-file fallback, isolate persisted state by the sidecar selected, and qualify a real load of the 6.05 bpw file without a sidecar environment setting.","status":"closed","priority":2,"issue_type":"task","assignee":"minder","created_at":"2026-11-19T11:50:52.697232601Z","created_by":"minder","updated_at":"2026-11-19T11:58:32.264165296Z","closed_at":"2026-11-19T11:58:32.258339526Z","close_reason":"Canonical model-local HC calibration verified end to end","source_repo":"nix-overlay","compaction_level":0,"original_size":0,"comments":[{"id":32,"issue_id":"nix-overlay-kzh","author":"minder","text":"Scope packages/kyojin/package.nix and one upstream server patch. Install the verified sidecar under the conventional name in the local 6.05 model folder, leaving model-specific env out of the test; run detector tests and a native private service check.","created_at":"2026-11-19T11:51:18Z"},{"id":33,"issue_id":"nix-overlay-kzh","author":"minder","text":"Built .#kyojin and evaluated and built ms-s1-max with a local input override. The old and new packages started privately with the same 6.05 bpw directory, 8192 ctx and one slot, with no external sidecar path or cache tag. Old: 0/97 sidecar sites (published SHA mismatch). New: 96 sidecar, 1 plain, 0 rejected. Separate disk namespaces, same public model ID. 6/6 tool calls and 6/6 structured responses correct. Qwen source suite in the ROCm environment: 120 tests, OK (1 skipped). nixfmt --check passed. Evidence: /DATA/LLMs/benchmark_results/kyojin-hc-calibration-20261119/autoload.json","created_at":"2026-11-19T11:58:32Z"}]}
|
||||||
{"id":"nix-overlay-m5y","title":"Add CodeAF package (Agent-Field/CodeAF)","description":"Add https://github.com/Agent-Field/CodeAF as a new package under packages/codeaf with default.nix + package.nix, staged for blueprint discovery, README table updated, nix build verified.","status":"closed","priority":2,"issue_type":"feature","assignee":"Alexander Miroshnichenko","owner":"alex@millerson.name","created_at":"2026-10-06T18:07:38Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-10-06T18:46:34Z","closed_at":"2026-10-06T18:46:34Z","close_reason":"Closed","source_repo":".","compaction_level":0,"original_size":0}
|
{"id":"nix-overlay-m5y","title":"Add CodeAF package (Agent-Field/CodeAF)","description":"Add https://github.com/Agent-Field/CodeAF as a new package under packages/codeaf with default.nix + package.nix, staged for blueprint discovery, README table updated, nix build verified.","status":"closed","priority":2,"issue_type":"feature","assignee":"Alexander Miroshnichenko","owner":"alex@millerson.name","created_at":"2026-10-06T18:07:38Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-10-06T18:46:34Z","closed_at":"2026-10-06T18:46:34Z","close_reason":"Closed","source_repo":".","compaction_level":0,"original_size":0}
|
||||||
{"id":"nix-overlay-nn2","title":"marmel: drop session-boot-trust-store.patch once upstream stops panicking on a missing CA store","description":"packages/marmel/session-boot-trust-store.patch forwards SSL_CERT_FILE into\nthe env_clear()d child in tests/test_session_boot.rs. It is a workaround,\nnot the fix: src/llm/client.rs default_http_client() calls unwrap_or_default()\non Result<Client, reqwest::Error>, and reqwest's Client::default() is\nClient::new(), which repeats the same build and .expect()s it, so the fallback\nalways panics. Reproduced independently of Nix on a stock busybox image with no\n/etc/ssl.\n\nUpstream issue filed 2026-10-16, still open:\nhttps://github.com/Na1w/marmel/issues/13\n(\"marmel panics at startup instead of reporting a missing CA trust store\")\n\nBlocked on upstream. Once upstream propagates the error instead of discarding\nit, drop the patch, bump marmel to the fixing commit, and rebuild.\n","status":"closed","priority":3,"issue_type":"task","owner":"alex@millerson.name","created_at":"2026-10-16T11:32:29Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-11-09T07:03:29.680285424Z","closed_at":"2026-11-09T07:03:29.673967963Z","close_reason":"Upstream fixed in 62cb756 (#16, 2026-10-18); session-boot-trust-store.patch was already dropped in adbed5f3c074. Current pin afcc1dc is 31 commits ahead of the fix and the package carries no such patch.","external_ref":"https://github.com/Na1w/marmel/issues/13","source_repo":".","compaction_level":0,"original_size":0}
|
{"id":"nix-overlay-nn2","title":"marmel: drop session-boot-trust-store.patch once upstream stops panicking on a missing CA store","description":"packages/marmel/session-boot-trust-store.patch forwards SSL_CERT_FILE into\nthe env_clear()d child in tests/test_session_boot.rs. It is a workaround,\nnot the fix: src/llm/client.rs default_http_client() calls unwrap_or_default()\non Result<Client, reqwest::Error>, and reqwest's Client::default() is\nClient::new(), which repeats the same build and .expect()s it, so the fallback\nalways panics. Reproduced independently of Nix on a stock busybox image with no\n/etc/ssl.\n\nUpstream issue filed 2026-10-16, still open:\nhttps://github.com/Na1w/marmel/issues/13\n(\"marmel panics at startup instead of reporting a missing CA trust store\")\n\nBlocked on upstream. Once upstream propagates the error instead of discarding\nit, drop the patch, bump marmel to the fixing commit, and rebuild.\n","status":"closed","priority":3,"issue_type":"task","owner":"alex@millerson.name","created_at":"2026-10-16T11:32:29Z","created_by":"Alexander Miroshnichenko","updated_at":"2026-11-09T07:03:29.680285424Z","closed_at":"2026-11-09T07:03:29.673967963Z","close_reason":"Upstream fixed in 62cb756 (#16, 2026-10-18); session-boot-trust-store.patch was already dropped in adbed5f3c074. Current pin afcc1dc is 31 commits ahead of the fix and the package carries no such patch.","external_ref":"https://github.com/Na1w/marmel/issues/13","source_repo":".","compaction_level":0,"original_size":0}
|
||||||
|
|||||||
@@ -58,6 +58,7 @@ A custom Nix overlay and flake providing additional packages not found in upstre
|
|||||||
| `relay-free-llm` | RESTful API to route user prompts to various AI model providers with automatic failover and intent-based routing | AI LLM Gateway |
|
| `relay-free-llm` | RESTful API to route user prompts to various AI model providers with automatic failover and intent-based routing | AI LLM Gateway |
|
||||||
| `stakpak` | DevOps AI agent that generates infrastructure code, debugs Kubernetes, configures CI/CD, and automates deployments | AI Agents |
|
| `stakpak` | DevOps AI agent that generates infrastructure code, debugs Kubernetes, configures CI/CD, and automates deployments | AI Agents |
|
||||||
| `traycer` | Open-source AI orchestration app for agentic coding | AI Coding Agents |
|
| `traycer` | Open-source AI orchestration app for agentic coding | AI Coding Agents |
|
||||||
|
| `voicestudio` | Fully-local voice studio — cloning, design, dubbing, dictation, transcription and audiobook creation in 646 languages | AI Audio |
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
Generated
+36
@@ -378,6 +378,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs_4": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1794042290,
|
||||||
|
"narHash": "sha256-ziZn2PvCJE5JEEpqTdxXwJpPB+L3YqoCpTAMCzyaP3U=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "f4a03c008967841f2a0b3cb7c436fc6fc31671f6",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"pwilkin-llama-cpp": {
|
"pwilkin-llama-cpp": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": [
|
"flake-parts": [
|
||||||
@@ -470,6 +486,7 @@
|
|||||||
"strix-llama-cpp": "strix-llama-cpp",
|
"strix-llama-cpp": "strix-llama-cpp",
|
||||||
"systems": "systems_2",
|
"systems": "systems_2",
|
||||||
"treefmt-nix": "treefmt-nix",
|
"treefmt-nix": "treefmt-nix",
|
||||||
|
"voicestudio": "voicestudio",
|
||||||
"xdna-driver-src": "xdna-driver-src",
|
"xdna-driver-src": "xdna-driver-src",
|
||||||
"xrt-src": "xrt-src"
|
"xrt-src": "xrt-src"
|
||||||
}
|
}
|
||||||
@@ -593,6 +610,25 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"voicestudio": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs_4"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1794443361,
|
||||||
|
"narHash": "sha256-i6/8SR9jisXKpEhQV1AXVQgj4tZy/uYD0VJ+XMCswqQ=",
|
||||||
|
"owner": "debpalash",
|
||||||
|
"repo": "VoiceStudio",
|
||||||
|
"rev": "c1050c16d9b3881e5d4161ee58ccc0582b3f20f9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "debpalash",
|
||||||
|
"ref": "v0.5.8",
|
||||||
|
"repo": "VoiceStudio",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"xdna-driver-src": {
|
"xdna-driver-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|||||||
@@ -30,6 +30,10 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs-engine";
|
inputs.nixpkgs.follows = "nixpkgs-engine";
|
||||||
inputs.flake-parts.follows = "flake-parts";
|
inputs.flake-parts.follows = "flake-parts";
|
||||||
};
|
};
|
||||||
|
# VoiceStudio ships its own flake that builds the Electron app. It does not
|
||||||
|
# follow our nixpkgs: its package needs electron_44-bin, which our pinned
|
||||||
|
# nixpkgs revision does not have yet (it stops at electron_43-bin).
|
||||||
|
voicestudio.url = "github:debpalash/VoiceStudio/v0.5.8";
|
||||||
gufo.url = "github:mikealanni/gufo/fork-enhancements";
|
gufo.url = "github:mikealanni/gufo/fork-enhancements";
|
||||||
kyojin.url = "github:Yamz-Labs/kyojin/v1.8.26";
|
kyojin.url = "github:Yamz-Labs/kyojin/v1.8.26";
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
# Upstream's flake builds the app against its own pinned nixpkgs (see the
|
||||||
|
# comment in flake.nix), so there is nothing to re-derive here. Only the first
|
||||||
|
# run touches the network: the backend bootstraps itself with uv into
|
||||||
|
# ~/.local/share, exactly like the published AppImage.
|
||||||
|
# Upstream builds the desktop package for x86_64-linux only.
|
||||||
|
let
|
||||||
|
package = inputs.voicestudio.packages.${pkgs.stdenv.hostPlatform.system}.default or null;
|
||||||
|
in
|
||||||
|
if package == null then
|
||||||
|
{
|
||||||
|
meta.platforms = [ "x86_64-linux" ];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
package.overrideAttrs (_: {
|
||||||
|
passthru = (package.passthru or { }) // {
|
||||||
|
category = "AI Audio";
|
||||||
|
};
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user