5d96850f8a
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
24 lines
662 B
Nix
24 lines
662 B
Nix
{
|
|
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";
|
|
};
|
|
})
|