Skip to content

Commit

Permalink
Merge pull request #198670 from trofi/dlew-without-xlibsWrapper
Browse files Browse the repository at this point in the history
glew: use xorg.* packages directly instead of xlibsWrapper indirection
  • Loading branch information
trofi authored Nov 5, 2022
2 parents 53f6127 + 7d163d8 commit af148bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/libraries/glew/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch, cmake, libGLU, xlibsWrapper, libXmu, libXi
{ lib, stdenv, fetchurl, fetchpatch, cmake, libGLU, libXmu, libXi, libXext
, OpenGL
, enableEGL ? false
}:
Expand All @@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
];

nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals (!stdenv.isDarwin) [ xlibsWrapper libXmu libXi ];
buildInputs = lib.optionals (!stdenv.isDarwin) [ libXmu libXi libXext ];
propagatedBuildInputs = if stdenv.isDarwin then [ OpenGL ] else [ libGLU ]; # GL/glew.h includes GL/glu.h

cmakeDir = "cmake";
Expand Down

0 comments on commit af148bc

Please sign in to comment.