From 1b67faa055912ccbb377abd1b264979c7e257b06 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 17 Oct 2016 15:40:18 +0200 Subject: [PATCH] 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 --- pkgs/development/libraries/mesa/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index 4e464907c6b4e4..dd9302db9524dd 100644 --- a/pkgs/development/libraries/mesa/default.nix +++ b/pkgs/development/libraries/mesa/default.nix @@ -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;