qt55: use python2

This commit is contained in:
Frederik Rietdijk 2016-10-18 23:00:04 +02:00
parent 284f22d19e
commit 8fcccec543
3 changed files with 6 additions and 6 deletions

View file

@ -8,7 +8,7 @@
, zlib, libjpeg, libpng, libtiff, sqlite, icu
, coreutils, bison, flex, gdb, gperf, lndir
, patchelf, perl, pkgconfig, python
, patchelf, perl, pkgconfig, python2
# optional dependencies
, cups ? null
@ -213,7 +213,7 @@ stdenv.mkDerivation {
# FIXME: move to the main list on rebuild.
++ [gnome_vfs.out libgnomeui.out gtk2 GConf];
nativeBuildInputs = [ lndir patchelf perl pkgconfig python ];
nativeBuildInputs = [ lndir patchelf perl pkgconfig python2 ];
# freetype-2.5.4 changed signedness of some struct fields
NIX_CFLAGS_COMPILE = "-Wno-error=sign-compare";

View file

@ -1,8 +1,8 @@
{ qtSubmodule, lib, copyPathsToStore, python, qtbase, qtsvg, qtxmlpatterns }:
{ qtSubmodule, lib, copyPathsToStore, python2, qtbase, qtsvg, qtxmlpatterns }:
qtSubmodule {
name = "qtdeclarative";
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
qtInputs = [ qtbase qtsvg qtxmlpatterns ];
nativeBuildInputs = [ python ];
nativeBuildInputs = [ python2 ];
}

View file

@ -1,7 +1,7 @@
{ qtSubmodule, stdenv, qtdeclarative, qtlocation, qtsensors
, fontconfig, gdk_pixbuf, gtk2, libwebp, libxml2, libxslt
, sqlite, systemd, glib, gst_all_1
, bison2, flex, gdb, gperf, perl, pkgconfig, python, ruby
, bison2, flex, gdb, gperf, perl, pkgconfig, python2, ruby
, substituteAll
, flashplayerFix ? false
}:
@ -13,7 +13,7 @@ qtSubmodule {
qtInputs = [ qtdeclarative qtlocation qtsensors ];
buildInputs = [ fontconfig libwebp libxml2 libxslt sqlite glib gst_all_1.gstreamer gst_all_1.gst-plugins-base ];
nativeBuildInputs = [
bison2 flex gdb gperf perl pkgconfig python ruby
bison2 flex gdb gperf perl pkgconfig python2 ruby
];
patches =
let dlopen-webkit-nsplugin = substituteAll {