mesa: use python2

since there is still code that is not compatible with Python 3.x and the
following issue occurs as well
https://bugs.freedesktop.org/show_bug.cgi?id=95338
This commit is contained in:
Frederik Rietdijk 2016-10-17 15:40:18 +02:00
parent 167ca6f93a
commit 77dacee416

View file

@ -2,7 +2,7 @@
, pkgconfig, intltool, autoreconfHook, substituteAll
, file, expat, libdrm, xorg, wayland, systemd
, llvmPackages, libffi, libomxil-bellagio, libva
, libelf, libvdpau, python
, libelf, libvdpau, python2
, grsecEnabled ? false
, enableTextureFloats ? false # Texture floats are patented, see docs/patents.txt
}:
@ -113,7 +113,7 @@ stdenv.mkDerivation {
libX11 libXext libxcb libXt libXfixes libxshmfence
libffi wayland libvdpau libelf libXvMC
libomxil-bellagio libva libpthreadstubs
(python.withPackages (ps: [ ps.Mako ]))
(python2.withPackages (ps: [ ps.Mako ]))
] ++ optional stdenv.isLinux systemd;