Commit Graph

2 Commits

Author SHA1 Message Date
alex fc657f4d55 fix(voicestudio): run the backend from a Nix-built Python env
The app's first-run setup downloads uv's generic CPython into
~/.config/VoiceStudio/runtime, which NixOS cannot execute (stub-ld).

Do the same frozen `uv sync` at build time against upstream's nixpkgs
python, in a fixed-output derivation, and point the app at it through
OMNIVOICE_BACKEND_CMD so it no longer manages a runtime of its own.
The ctranslate2 executable-stack flag is cleared at build time with
upstream's own repair, since the store is read-only.

CPU torch only. Adds an import-probe check.

Refs: nix-overlay-2r3
2026-11-20 20:26:10 +03:00
alex 5d96850f8a 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
2026-11-20 13:09:42 +03:00