-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
nixos/no-x-libs: fix build packages #258812
Conversation
Pipewire rebuild needs to go into staging. |
Ups.. Fixed. |
nixos/modules/config/no-x-libs.nix
Outdated
@@ -42,6 +42,7 @@ with lib; | |||
gst-plugins-base = super.gst_all_1.gst-plugins-base.override { enableWayland = false; enableX11 = false; }; | |||
gst-plugins-good = super.gst_all_1.gst-plugins-good.override { enableX11 = false; }; | |||
}; | |||
gtk3 = super.gtk3.override { x11Support = false; waylandSupport = false; }; |
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.
gtk3 is one of the dependencies we try to avoid and remove in many other packages in this list. What was your motivation to add this? We should probably remove the dependency from the package itself instead. Or in addition to this.
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.
I couldn't build the qemu package. Dependency chain - qemu -> pipewire -> ffado -> ... -> gtk3.
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.
if we remove ffado from pipewire, then we don't need it the gtk3 overwrite here. Also this probably hides usages of gtk3 in the future. I think we should remove this line again.
Update. |
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.
Result of nixpkgs-review pr 258812
run on x86_64-linux 1
1 package blacklisted:
- nixos-install-tools
0 rebuild, waiting for ofborg.
Is the pipewire test supposed to fail? |
Without this PR, same error with pipewire test. |
The VM test does fail, it needs a real ALSA device. |
Thanks! |
Successfully created backport PR for |
This fixes a config that broke on 23.11, but worked fine on 23.05 for a headless machine connected to a speaker (because of alsa-utils -> pipewire -> ... -> gtk3) and is only for the minimal profile relevant, so I'm scheduling this for a backport. |
Description of changes
Fix build packages with enabled option
environment.noXlibs = true
.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/
)