{ 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"; }; })