-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
Initial stab at making X11 a configurable dependency of intel-media-drivers #73277
Conversation
@vcunat could you review this please? |
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.
Sorry about the delay.
Unfortunately I cannot test this easily as I'm on Wayland but the idea and diff LGTM with my proposed changes (not tested, might contain syntax errors). Could you apply them (if you agree with the changes) and give it a final test before we merge this PR?
I don't have the knowledge/experience to disagree with anything! I'll pull latest tomorrow and make the appropriate change and see what happens :) |
I think nowadays the generic |
X11 is an optional run-time and optional build-time dependency of iHD. A patchelf is required to join these two worlds together, and a lot of machines that'll run the intel-media-driver won't have X11 on them, so make it optional. Fix NixOS#73236. Co-Authored-By: Michael Weiss <dev.primeos@gmail.com>
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 decided to finalize this by myself to get this merged/done. Cannot verify if this fixes the other issue but the diff suggests it and I briefly tested that this does still work with mpv on Wayland.
Motivation for this change
Issue #73236
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @jfrankenau ?