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
commit 53f6127cb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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" ];