diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-10-30 16:30:02 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2022-10-30 16:30:28 +0000 |
commit | 7d163d83be405e8f33853cd966849ead83d1dbe6 (patch) | |
tree | 7c17f2afd59fddca7c4b4c9800e5b7139d463ad2 /pkgs/development/libraries/glew | |
parent | 4a9f9e03fcf2ad79c9383845acb9234e1c56b533 (diff) |
glew: use xorg.* packages directly instead of xlibsWrapper indirection
Tested as no material change in `bin`, `dev` and `out` outputs with `diffoscope`.
Diffstat (limited to 'pkgs/development/libraries/glew')
-rw-r--r-- | pkgs/development/libraries/glew/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/glew/default.nix b/pkgs/development/libraries/glew/default.nix index 7e281892a1fd1..94a2d2c967b1a 100644 --- a/pkgs/development/libraries/glew/default.nix +++ b/pkgs/development/libraries/glew/default.nix @@ -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 }: @@ -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"; |