qt, glew: propagate glu

After removing qt's dependency on the symlinked combination of mesa and glu,
many qt apps were missing it now (since e9f0d10).
I resove this to a compromise.
This commit is contained in:
Vladimír Čunát
2013-08-06 10:37:15 +02:00
parent 72a8019334
commit de5b992ecf
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, mesa, x11, libXmu, libXi }:
{ stdenv, fetchurl, mesa_glu, x11, libXmu, libXi }:
stdenv.mkDerivation rec {
name = "glew-1.9.0";
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "11xpmsw7m5qn7y8fa2ihhqcislz1bdd83mp99didd5ac84756dlv";
};
buildInputs = [ mesa x11 libXmu libXi ];
buildInputs = [ x11 libXmu libXi ];
propagatedBuildInputs = [ mesa_glu ]; # GL/glew.h includes GL/glu.h
patchPhase = ''
sed -i 's|lib64|lib|' config/Makefile.linux