3
0
Fork 0
forked from mirrors/nixpkgs

libglvnd: refer to driversLink via libGL_driver

This commit is contained in:
Alexander V. Nikolaev 2018-02-24 16:31:03 +02:00
parent ea04aa1720
commit 42dcaa91d6

View file

@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub, autoreconfHook, python2, pkgconfig, libGLU_combined_noglu, libX11, libXext, glproto }:
{stdenv, fetchFromGitHub, autoreconfHook, python2, pkgconfig, libGL_driver, libX11, libXext, glproto }:
# Git version is needed for EGL and GLES handling.
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = [
"-UDEFAULT_EGL_VENDOR_CONFIG_DIRS"
"-DDEFAULT_EGL_VENDOR_CONFIG_DIRS=\"${libGLU_combined_noglu.driverLink}/share/glvnd/egl_vendor.d\""
"-DDEFAULT_EGL_VENDOR_CONFIG_DIRS=\"${libGL_driver.driverLink}/share/glvnd/egl_vendor.d\""
];
outputs = [ "out" "dev" ];