Skip to content

Commit

Permalink
pythonPackages.pyside: fix build by passing mesa for GL/gl.h
Browse files Browse the repository at this point in the history
(cherry picked from commit 20b0663)
  • Loading branch information
7c6f434c authored and andir committed Mar 17, 2019
1 parent d928603 commit 973ba4a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/pyside/default.nix
@@ -1,4 +1,4 @@
{ lib, fetchurl, cmake, buildPythonPackage, pysideGeneratorrunner, pysideShiboken, qt4 }:
{ lib, fetchurl, cmake, buildPythonPackage, pysideGeneratorrunner, pysideShiboken, qt4, mesa }:

# This derivation provides a Python module and should therefore be called via `python-packages.nix`.
buildPythonPackage rec {
Expand All @@ -15,12 +15,13 @@ buildPythonPackage rec {

nativeBuildInputs = [ cmake pysideGeneratorrunner pysideShiboken qt4 ];

buildInputs = [ mesa ];

makeFlags = "QT_PLUGIN_PATH=" + pysideShiboken + "/lib/generatorrunner";

meta = {
description = "LGPL-licensed Python bindings for the Qt cross-platform application and UI framework";
license = lib.licenses.lgpl21;
homepage = http://www.pyside.org;
broken = true;
};
}

0 comments on commit 973ba4a

Please sign in to comment.