qt57: use python2
This commit is contained in:
parent
8fcccec543
commit
8b7cc8a9a5
@ -2,7 +2,7 @@
|
|||||||
stdenv, lib, copyPathsToStore,
|
stdenv, lib, copyPathsToStore,
|
||||||
src, version,
|
src, version,
|
||||||
|
|
||||||
coreutils, bison, flex, gdb, gperf, lndir, patchelf, perl, pkgconfig, python,
|
coreutils, bison, flex, gdb, gperf, lndir, patchelf, perl, pkgconfig, python2,
|
||||||
ruby,
|
ruby,
|
||||||
|
|
||||||
dbus, fontconfig, freetype, glib, gtk3, harfbuzz, icu, libX11, libXcomposite,
|
dbus, fontconfig, freetype, glib, gtk3, harfbuzz, icu, libX11, libXcomposite,
|
||||||
@ -189,7 +189,7 @@ stdenv.mkDerivation {
|
|||||||
++ lib.optional (postgresql != null) postgresql;
|
++ lib.optional (postgresql != null) postgresql;
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[ bison flex gperf lndir patchelf perl pkgconfig python ];
|
[ bison flex gperf lndir patchelf perl pkgconfig python2 ];
|
||||||
|
|
||||||
# freetype-2.5.4 changed signedness of some struct fields
|
# freetype-2.5.4 changed signedness of some struct fields
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error=sign-compare";
|
NIX_CFLAGS_COMPILE = "-Wno-error=sign-compare";
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{ qtSubmodule, lib, copyPathsToStore, python, qtbase, qtsvg, qtxmlpatterns }:
|
{ qtSubmodule, lib, copyPathsToStore, python2, qtbase, qtsvg, qtxmlpatterns }:
|
||||||
|
|
||||||
qtSubmodule {
|
qtSubmodule {
|
||||||
name = "qtdeclarative";
|
name = "qtdeclarative";
|
||||||
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
||||||
qtInputs = [ qtbase qtsvg qtxmlpatterns ];
|
qtInputs = [ qtbase qtsvg qtxmlpatterns ];
|
||||||
nativeBuildInputs = [ python ];
|
nativeBuildInputs = [ python2 ];
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ qtSubmodule, stdenv, qtdeclarative, qtlocation, qtsensors
|
{ qtSubmodule, stdenv, qtdeclarative, qtlocation, qtsensors
|
||||||
, fontconfig, gdk_pixbuf, gtk2, libwebp, libxml2, libxslt
|
, fontconfig, gdk_pixbuf, gtk2, libwebp, libxml2, libxslt
|
||||||
, sqlite, systemd, glib, gst_all_1
|
, sqlite, systemd, glib, gst_all_1
|
||||||
, bison2, flex, gdb, gperf, perl, pkgconfig, python, ruby
|
, bison2, flex, gdb, gperf, perl, pkgconfig, python2, ruby
|
||||||
, substituteAll
|
, substituteAll
|
||||||
, flashplayerFix ? false
|
, flashplayerFix ? false
|
||||||
}:
|
}:
|
||||||
@ -13,7 +13,7 @@ qtSubmodule {
|
|||||||
qtInputs = [ qtdeclarative qtlocation qtsensors ];
|
qtInputs = [ qtdeclarative qtlocation qtsensors ];
|
||||||
buildInputs = [ fontconfig libwebp libxml2 libxslt sqlite glib gst_all_1.gstreamer gst_all_1.gst-plugins-base ];
|
buildInputs = [ fontconfig libwebp libxml2 libxslt sqlite glib gst_all_1.gstreamer gst_all_1.gst-plugins-base ];
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
bison2 flex gdb gperf perl pkgconfig python ruby
|
bison2 flex gdb gperf perl pkgconfig python2 ruby
|
||||||
];
|
];
|
||||||
patches =
|
patches =
|
||||||
let dlopen-webkit-nsplugin = substituteAll {
|
let dlopen-webkit-nsplugin = substituteAll {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user