telepathy_glib: fix building with python3

This commit is contained in:
Frederik Rietdijk 2016-10-18 15:55:15 +02:00
parent 691c287d5d
commit 42f0271d32

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, dbus_glib, glib, python, pkgconfig, libxslt
, gobjectIntrospection, valaSupport ? true, vala_0_23 }:
, gobjectIntrospection, valaSupport ? true, vala_0_23, glibcLocales }:
stdenv.mkDerivation rec {
name = "telepathy-glib-0.24.1";
@ -10,10 +10,10 @@ stdenv.mkDerivation rec {
};
configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
LC_ALL = "en_US.UTF-8";
propagatedBuildInputs = [dbus_glib glib python gobjectIntrospection];
buildInputs = [pkgconfig libxslt] ++ stdenv.lib.optional valaSupport vala_0_23;
buildInputs = [pkgconfig libxslt glibcLocales ] ++ stdenv.lib.optional valaSupport vala_0_23;
preConfigure = ''
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires