-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
wayland-scanner: split from wayland #214906
Conversation
The remaining occurrences of
and also
|
69b36a9
to
97f8b5d
Compare
97f8b5d
to
336236a
Compare
Things that still need to be checked:
|
336236a
to
8e9d2c6
Compare
cf02f4c
to
365caa5
Compare
365caa5
to
58b78e9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for cleaning this up
58b78e9
to
c06fcdc
Compare
c06fcdc
to
a1a017d
Compare
1d41c53
to
40cbc34
Compare
Bisect says 921bd99
|
Thanks for the report, I'll take a close look once I rebuilt things until there :-) The package recipe might need some slight adjustments. |
It was an issue with the upstream package picking from the wrong .pc file, which we exposed with the wayland-scanner split. Fix in #335788. |
Another casualty of 921bd99
|
Try adding wayland-scanner to buildInputs, so pkg-config can discover it? |
Sounds good. Proposed the addition as: |
Idk much about how wine uses wayland-scanner, but why |
wine's generic nix code is a bit unusual in how it pulls in |
Fair enough, cleaning this up can be a separate PR, that PR is not making it more messy than it was before. |
|
This is the same issue as it was in hyprwm/aquamarine#55. I sent a PR at hyprwm/Hyprland#7467. nixpkgs PR at #336512 |
Without this, it crashes on launch or render when using (at least) Nvidia GPUs. Blender build needs this, but currently only warns during build. See also: NixOS#214906 NixOS#340080
Description of changes
We've used a
wayland-scanner = wayland.bin
alias for ages, to make packages clearer and allow them to be independently overridden. Going the whole way into splitting them into separate packages is useful because it means we can have different meta.platforms attributes for libwayland and wayland-scanner.There is no duplication in outputs between the two packages — they don't install any files in common.
Draft because I'm going to need to test the downstream packages and make sure none were relying on pulling wayland-scanner from the wayland attribute.
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