Skip to content

Commit

Permalink
mesa_drivers: work around #16779
Browse files Browse the repository at this point in the history
This works around missing newer wayland symbols when running
some older packages on a system with updated opengl drivers.
We have no good solution yet, unfortunately. This commit might
break packages that rely on new wayland features, but those
should be a minority.
  • Loading branch information
vcunat committed Sep 28, 2016
1 parent ff5cf3a commit 7a003eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -8314,6 +8314,7 @@ in
mesa_drivers = mesaDarwinOr (
let mo = mesa_noglu.override {
grsecEnabled = config.grsecurity or false;
wayland = wayland_1_9; # work-around for #16779
};
in mo.drivers
);
Expand Down

2 comments on commit 7a003eb

@ttuegel
Copy link
Member

@ttuegel ttuegel commented on 7a003eb Oct 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vcunat If the newer Wayland is a problem, could we make the Nixpkgs default the older version? This breaks KDE 5 because of the version mismatch between wayland and mesa_drivers. I suspect that most packages which depend on Wayland will also break this way.

@vcunat
Copy link
Member Author

@vcunat vcunat commented on 7a003eb Oct 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only tried stuff that depended on wayland but didn't really use any wayland (except linking). It worked there. I don't know what to do in the short term, e.g. for 16.09. For master I'll try to come with a libglvnd-based solution.

Please sign in to comment.