Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Nix build on x86_64-darwin #6280

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

siriobalmelli
Copy link

@siriobalmelli siriobalmelli commented Oct 15, 2024

Update Darwin SDK revision: nix build on x86_64-darwin fails not finding the UserNotifications framework.

Update Nix dependencies.

Add the NSLocalNetworkUsageDescription entitlement to allow network applications to work correctly on MacOS Sequoia

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
The default SDK errors missing UserNotifications on x86_64-darwin.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
On MacOS 15 (Sequoia) and later,
Wezterm.app should ask for a LocalNetwork entitlement by default.

This fixes mysterious network failures (eg: 'no route to host') when:

- Wezterm is a toplevel process (ie: not a child of a process
  that already has LocalNetwork entitlement, like Terminal)
- A shell running inside Wezterm executes a process which accesses the network,
  but does not itself already have a LocalNetwork entitlement,
  eg: /etc/profiles/per-user/$(whoami)/bin/ssh
  for ssh installed by nix home-manager.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
@siriobalmelli siriobalmelli marked this pull request as ready for review October 21, 2024 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant