Merge pull request #198671 from trofi/glew110-without-xlibsWrapper

glew110: use xorg.* packages directly instead of xlibsWrapper indirec…
This commit is contained in:
Sergei Trofimovich
2022-11-05 10:17:34 +00:00
committed by GitHub
+2 -2
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, libGLU, xlibsWrapper, libXmu, libXi
{ lib, stdenv, fetchurl, libGLU, libXmu, libXi, libXext
, AGL, OpenGL
}:
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "01zki46dr5khzlyywr3cg615bcal32dazfazkf360s1znqh17i4r";
};
buildInputs = if stdenv.isDarwin then [ AGL ] else [ xlibsWrapper libXmu libXi ];
buildInputs = if stdenv.isDarwin then [ AGL ] else [ libXmu libXi libXext ];
propagatedBuildInputs = if stdenv.isDarwin then [ OpenGL ] else [ libGLU ]; # GL/glew.h includes GL/glu.h
outputs = [ "out" "dev" ];