mesa: fix cross-compiling
This commit is contained in:
parent
054b938c5c
commit
e873882849
|
@ -2,7 +2,7 @@
|
||||||
, pkgconfig, intltool, autoreconfHook
|
, pkgconfig, intltool, autoreconfHook
|
||||||
, file, expat, libdrm, xorg, wayland, wayland-protocols, openssl
|
, file, expat, libdrm, xorg, wayland, wayland-protocols, openssl
|
||||||
, llvmPackages, libffi, libomxil-bellagio, libva-minimal
|
, llvmPackages, libffi, libomxil-bellagio, libva-minimal
|
||||||
, libelf, libvdpau, valgrind-light, python2
|
, libelf, libvdpau, valgrind-light, python2, python2Packages
|
||||||
, libglvnd
|
, libglvnd
|
||||||
, enableRadv ? true
|
, enableRadv ? true
|
||||||
, galliumDrivers ? null
|
, galliumDrivers ? null
|
||||||
|
@ -134,11 +134,14 @@ let self = stdenv.mkDerivation {
|
||||||
"--disable-opencl"
|
"--disable-opencl"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook intltool pkgconfig file ];
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook intltool pkgconfig file
|
||||||
|
python2 python2Packages.Mako
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with xorg;
|
propagatedBuildInputs = with xorg; [
|
||||||
[ libXdamage libXxf86vm ]
|
libXdamage libXxf86vm
|
||||||
++ optional stdenv.isLinux libdrm
|
] ++ optional stdenv.isLinux libdrm
|
||||||
++ optionals stdenv.isDarwin [ OpenGL Xplugin ];
|
++ optionals stdenv.isDarwin [ OpenGL Xplugin ];
|
||||||
|
|
||||||
buildInputs = with xorg; [
|
buildInputs = with xorg; [
|
||||||
|
@ -147,7 +150,6 @@ let self = stdenv.mkDerivation {
|
||||||
libX11 libXext libxcb libXt libXfixes libxshmfence libXrandr
|
libX11 libXext libxcb libXt libXfixes libxshmfence libXrandr
|
||||||
libffi libvdpau libelf libXvMC
|
libffi libvdpau libelf libXvMC
|
||||||
libpthreadstubs openssl /*or another sha1 provider*/
|
libpthreadstubs openssl /*or another sha1 provider*/
|
||||||
python2 python2.pkgs.Mako
|
|
||||||
] ++ lib.optionals (elem "wayland" eglPlatforms) [ wayland wayland-protocols ]
|
] ++ lib.optionals (elem "wayland" eglPlatforms) [ wayland wayland-protocols ]
|
||||||
++ lib.optionals stdenv.isLinux [ valgrind-light libomxil-bellagio libva-minimal ];
|
++ lib.optionals stdenv.isLinux [ valgrind-light libomxil-bellagio libva-minimal ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue