treewide: refactor to use libglvnd

* Implement libGL as a symlink package which uses libraries from libglvnd and
  headers from Mesa (since ones from libglvnd are outdated).
* Use libGL_driver.driverLink treewide; add FHS paths where possible.
This commit is contained in:
Nikolay Amiantov
2018-03-26 14:01:49 +03:00
parent 803e87aa1e
commit 6bf1421f13
13 changed files with 78 additions and 58 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, elfutils, libGL
{ stdenv, fetchurl, elfutils
, xorg, patchelf, openssl, libdrm, libudev
, libxcb, libxshmfence, epoxy, perl, zlib
, fetchFromGitHub, ncurses
@@ -13,8 +13,6 @@ let
kernelDir = if libsOnly then null else kernel.dev;
inherit (libGL) driverLink;
bitness = if stdenv.is64bit then "64" else "32";
libArch =