telepathy_glib: use python2

while this package supports Python 3, certain dependencies don't. An
example is telepathy mission control. Python 3 sneaked in via
telepathy_glib, breaking the build of that package.

TODO: put python bindings in separate output!
This commit is contained in:
Frederik Rietdijk 2016-11-18 10:10:49 +01:00
parent 6a8c708d6d
commit ef981df445

@ -1,4 +1,4 @@
{ stdenv, fetchurl, dbus_glib, glib, python, pkgconfig, libxslt
{ stdenv, fetchurl, dbus_glib, glib, python2, pkgconfig, libxslt
, gobjectIntrospection, valaSupport ? true, vala_0_23, glibcLocales }:
stdenv.mkDerivation rec {
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
LC_ALL = "en_US.UTF-8";
propagatedBuildInputs = [dbus_glib glib python gobjectIntrospection];
propagatedBuildInputs = [dbus_glib glib python2 gobjectIntrospection];
buildInputs = [pkgconfig libxslt glibcLocales ] ++ stdenv.lib.optional valaSupport vala_0_23;