Repository navigation
block-catch: init at 0.5.1 - #580909
block-catch: init at 0.5.1#580909kleinbem wants to merge 1 commit into
Conversation
Pins berd to 064f3f90, the signed head of NixOS/nixpkgs#580616 (nixpkgs-review green on all three platforms). Berd now takes `block-catch` (NixOS/nixpkgs#580909), which the fleet's nixpkgs doesn't have, so the *Pin nixpkgs PR* run failed on eval. A registry entry's new `scope` calls such packages into the entry's scope without exporting them. Evaluated berd on x86_64-linux and aarch64-darwin: same derivations as in the nixpkgs trial. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Package entries can now use additional dependencies from the same pull request, including dependencies that are not exposed in the final package set. * The `berd` package entry now includes an additional dependency and points to an updated nixpkgs revision. * **Documentation** * Clarified how packages can depend on other packages from the same or a separate pull request. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude Opus 5.5 <[email protected]>
123a35b to
1e40d37
Compare
|
The aarch64-darwin failure isn't from this package. SwiftUI's |
|
I added some suggested changes that should let this compile with our Swift 6.4 toolchain. For SDK-specific macros, we have implementations of SwiftUI and FoundationModels macros in There’s more on Swift macros in the documentation. |
1e40d37 to
b8bf767
Compare
|
Applied your |
Assisted-by: Claude Code (claude-opus-5-5) Assisted-by: Antigravity (Gemini 4 Hydrogen)
b8bf767 to
b8e4c72
Compare
Adds
block-catch, Catch: Block's macOS shortcut for finding and starting Goose agent sessions. It's built from source with nixpkgs' Swift and the macOS 26 SDK, which it requires. The attribute isn'tcatchbecause that name is still taken by the removal alias of the old C++ library.Catch runs standalone, where it starts
goose serveitself, or embedded in a host app. Berd embeds it for its global shortcut, and the next PR uses this package for Berd on macOS instead of the prebuilt binary upstream's script downloads. The package installsCatch.appwith the Info.plist from upstream's release script, plusbin/catch, and points standalone Catch at nixpkgs' goose (GOOSE_BINARY), since it otherwise only looks in Homebrew's paths.The check phase runs upstream's
swift test(73 tests, none skipped). Three things make them pass in the sandbox: ICU data for URL parsing, the AppKit appearance bundle for the panel tests, and a home directory the build-script tests can compare. The Xcode-only#Previewblock is turned into a plain function because the open-source toolchain has no preview macros.On a macOS runner, standalone Catch starts
goose servefrom nixpkgs' goose-cli. Catch embedded in Berd isn't tested: it opens with the global shortcut, which I couldn't trigger there.Things done
./result/bin/.nixpkgs-reviewon this PR. See nixpkgs-review usage.passthru.tests.Prepared with Claude Code (claude-opus-5-5); the commit carries an
Assisted-by:trailer.