-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
Revert "Revert "wayland: mark as broken on darwin"" #214895
Conversation
As I explained, a Wayland package on macOS is useful because of wayland-scanner (which is in the Indeed In spite of this, if you still think this change is the right thing to do, then I would like to suggest we ask for third opinions from my co-maintainers of the Wayland package: @primeos @codyopel. |
(I'm also happy to go through and fix any incorrect occurrences on |
I'm having an unofficial full-fledged Wayland package on macOS in my repo, so doing a simple comparison, I don't agree if what betweens useful and all functionality includes the non-existence of headers in $ find result-dev/
result-dev/
result-dev//nix-support
result-dev//nix-support/propagated-build-inputs
result-dev//lib
result-dev//lib/pkgconfig
result-dev//lib/pkgconfig/wayland-scanner.pc
result-dev//share
result-dev//share/aclocal
result-dev//share/aclocal/wayland-scanner.m4
I'll be happy to test |
That's cool! I hope you can upstream it, as that would resolve all our problems here. :)
That's exactly what I'll be doing, because the latest git commit is a build fix from me. :P |
I'm not entirely sure I understand what you mean here, but the headers should be built if and only if the libraries are, since otherwise the headers would be useless. The reason to have current Wayland be buildable for macOS and other Unixes is to have the wayland-scanner binary and associated .pc file available. |
Cool. Glad we've got a path forward. :) |
Description of changes
tl;dr: It is a mistake to port one package to macOS while breaking tons of others.
This PR reverts #214828, which misleadingly builds a stub Wayland package on macOS (see #214828 (comment)) and causes build failures on almost all packages marked as broken transitively by Wayland before.
The issue was observed at least two weeks ago, in #212123, when the maintainer discovered that
inherit (wayland.meta) platforms
didn't work as intended on macOS.cc @alyssais @figsoda
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes