Open tqwewe opened 5 months ago
More about the build error here: https://github.com/NixOS/nixpkgs/pull/303233#issuecomment-2048650618
The Swift package is in crates/live_kit_client/LiveKitBridge
- perhaps removing xcrun
and adding swift swiftpm
to the build inputs may fix this.
Another possibility is to integrate swiftpm2nix
.
More information regarding darwin: https://github.com/NixOS/nixpkgs/pull/317564#pullrequestreview-2144857712
Building the Swift package will soon become unnecessary, as mentioned in my comment referenced by Gaétan. Unfortunately we'll have to wait for https://github.com/NixOS/nixpkgs/pull/229210 as Livekit depends on ScreenCaptureKit on macOS.
Looks like https://github.com/NixOS/nixpkgs/pull/326406 merged early support for apple_sdks 12.3 -- would that resolve the blocker you mentioned @niklaskorz?
Looks like #326406 merged early support for apple_sdks 12.3 -- would that resolve the blocker you mentioned @niklaskorz?
Draft PR is available at #329653 but is blocked until https://github.com/zed-industries/zed/pull/13343 is merged and released. As the draft is based on that PR branch, it however already builds and runs:
$ nix build "github:nixos/nixpkgs?ref=pull/329653/head#zed-editor"
$ result/bin/zed
Edit: now correctly produces an app bundle, and the CLI also works now
Steps To Reproduce
Zed-editor fails to build for MaxOS Intel using
NIXPKGS_ALLOW_BROKEN=1 nix-shell -p zed-editor -I nixpkgs=channel:nixos-unstable
Build log
Additional context
Add any other context about the problem here.
Notify maintainers
@GaetanLepage
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.