primusLib: fix path to libglapi

This commit is contained in:
Nikolay Amiantov 2018-03-19 12:35:58 +03:00
parent cdf1079665
commit 96a76b8b9c

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchpatch { stdenv, fetchFromGitHub, fetchpatch
, libX11, libGL , libX11, libGL, mesa_noglu
, nvidia_x11 ? null , nvidia_x11 ? null
, libglvnd , libglvnd
}: }:
@ -33,7 +33,7 @@ in stdenv.mkDerivation {
makeFlags = [ "LIBDIR=$(out)/lib" makeFlags = [ "LIBDIR=$(out)/lib"
"PRIMUS_libGLa=${aPackage}/lib/libGL.so" "PRIMUS_libGLa=${aPackage}/lib/libGL.so"
"PRIMUS_libGLd=${libGL}/lib/libGL.so" "PRIMUS_libGLd=${libGL}/lib/libGL.so"
"PRIMUS_LOAD_GLOBAL=${libGL}/lib/libglapi.so" "PRIMUS_LOAD_GLOBAL=${mesa_noglu}/lib/libglapi.so"
]; ];
installPhase = '' installPhase = ''