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:
@@ -1,7 +1,8 @@
|
||||
{ stdenv, fetchurl, pkgconfig, mesa_noglu }:
|
||||
{ stdenv, fetchurl, pkgconfig, libGL }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "glu-9.0.0";
|
||||
name = "glu-${version}";
|
||||
version = "9.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.freedesktop.org/pub/mesa/glu/${name}.tar.bz2";
|
||||
@@ -12,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs = [ mesa_noglu ];
|
||||
propagatedBuildInputs = [ libGL ];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user