Skip to content

fix(nix): drop the deleted Swift floating-window build from the flake - #1080

Merged
edenreich merged 1 commit into
mainfrom
fix/flake-swift-removal
Aug 19, 2026
Merged

edenreich merged 1 commit into
mainfrom
fix/flake-swift-removal

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Summary

Building the CLI via the nix flake on macOS has been broken since #1079: the darwin preBuild still ran build.sh inside internal/display/macos/ComputerUse, a directory that PR removed, so nix build fails with pushd: internal/display/macos/ComputerUse: No such file or directory. This breaks every consumer pinning the flake - the desktop repo's flox dev environment cannot move past v0.175.0 until this lands in a release.

Changes

  • Remove the darwin-only Swift build step (pushd .../ComputerUse && bash ./build.sh) and the pkgs.swift native build input.
  • Remove the dead source-filter entry for internal/display/macos/ComputerUse/build.
  • Keep pkgs.apple-sdk and the SDKROOT export: the computer-use cgo code still links AppKit (client_darwin.go) and ApplicationServices (controller_darwin.go), and hermetic nix builds cannot see the system Xcode SDK.

Verified with a hermetic nix build .# on aarch64-darwin at this commit: result/bin/infer reports infer version 0.176.0.

no docs ticket: internal-only build fix

Cross-repo impact

  • inference-gateway/desktop: unblocks bumping the flox pin (.flox/env/manifest.toml) past v0.175.0 once this ships in the next release.

PR #1079 removed internal/display/macos/ComputerUse, but the flake's darwin preBuild still ran its build.sh, so building v0.176.0 via nix fails with 'pushd: internal/display/macos/ComputerUse: No such file or directory'. Drop the Swift toolchain and the build step; apple-sdk and SDKROOT stay because the computer-use cgo code links AppKit and ApplicationServices. Verified with a hermetic nix build on darwin (result/bin/infer reports 0.176.0).
@edenreich
edenreich marked this pull request as ready for review August 19, 2026 18:28
@edenreich
edenreich requested a review from a team as a code owner August 19, 2026 18:28
@edenreich
edenreich merged commit cb5abdd into main Aug 19, 2026
1 check passed
@edenreich
edenreich deleted the fix/flake-swift-removal branch August 19, 2026 18:37
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.176.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant