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

alacritty: use new darwin SDK pattern #353685

Merged
merged 1 commit into from
Nov 4, 2024
Merged

alacritty: use new darwin SDK pattern #353685

merged 1 commit into from
Nov 4, 2024

Conversation

tjni
Copy link
Contributor

@tjni tjni commented Nov 4, 2024

With the hope also that this unbreaks alacritty on x86_64-darwin, which currently fails due to not finding _NSPasteboardTypeFileURL symbol.

Hydra failure: https://hydra.nixos.org/build/276314876

ZHF: #352882

I do not own an x86_64-darwin machine, so could use help testing this (or wait for ofborg to do it).

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

With the hope also that this unbreaks alacritty on x86_64-darwin, which
currently fails due to not finding _NSPasteboardTypeFileURL symbol.
Copy link
Member

@emilazy emilazy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does indeed build and run (btw, you can use Rosetta 2 to use any aarch64-darwin machine as an x86_64-darwin builder; that’s how ofborg and Hydra work).

@emilazy emilazy merged commit a908957 into NixOS:master Nov 4, 2024
10 of 11 checks passed
alacritty = callPackage ../applications/terminal-emulators/alacritty {
inherit (darwin.apple_sdk_11_0.frameworks) AppKit CoreGraphics CoreServices CoreText Foundation OpenGL;
};
alacritty = callPackage ../applications/terminal-emulators/alacritty { };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could've removed this entirely and move the package to by-name.

@tjni tjni deleted the alacritty branch November 4, 2024 22:59
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.

3 participants