Repository navigation
fix(nix): drop the deleted Swift floating-window build from the flake - #1080
Merged
Merged
Conversation
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).
Contributor
|
🎉 This PR is included in version 0.176.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Building the CLI via the nix flake on macOS has been broken since #1079: the darwin
preBuildstill ranbuild.shinsideinternal/display/macos/ComputerUse, a directory that PR removed, sonix buildfails withpushd: 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
pushd .../ComputerUse && bash ./build.sh) and thepkgs.swiftnative build input.internal/display/macos/ComputerUse/build.pkgs.apple-sdkand theSDKROOTexport: 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/inferreportsinfer 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.