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

Initial stab at making X11 a configurable dependency of intel-media-drivers #73277

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

robashton
Copy link
Contributor

Motivation for this change

Issue #73236

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @jfrankenau ?

Sorry, something went wrong.

@ofborg ofborg bot requested a review from jfrankenau November 12, 2019 11:03
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 labels Nov 12, 2019
@doronbehar
Copy link
Contributor

@vcunat could you review this please?

Copy link
Member

@primeos primeos left a 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?

@robashton
Copy link
Contributor Author

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 :)

@vcunat
Copy link
Member

vcunat commented Jul 12, 2020

I think nowadays the generic packageOverrides mechanism is preferred to nixpkgs.config for this purpose, though it's a bit more chatty and I'm not aware of this preference being written down anywhere.

@ryantm ryantm added 2.status: merge conflict This PR has merge conflicts with the target branch and removed 2.status: merge conflict This PR has merge conflicts with the target branch labels Oct 3, 2020
@primeos primeos self-assigned this Jan 8, 2021
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>
@ofborg ofborg bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Jan 8, 2021
@ofborg ofborg bot requested a review from primeos January 8, 2021 13:57
Copy link
Member

@primeos primeos left a 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.

@primeos primeos merged commit 95dc08e into NixOS:master Jan 8, 2021
@Janik-Haag Janik-Haag added the 12. first-time contribution This PR is the author's first one; please be gentle! label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 12. first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libX11 dev-dependency in intel-media-driver causes runtime problems
6 participants