telepathy_glib: fix building with python3
This commit is contained in:
parent
691c287d5d
commit
42f0271d32
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, dbus_glib, glib, python, pkgconfig, libxslt
|
{ stdenv, fetchurl, dbus_glib, glib, python, pkgconfig, libxslt
|
||||||
, gobjectIntrospection, valaSupport ? true, vala_0_23 }:
|
, gobjectIntrospection, valaSupport ? true, vala_0_23, glibcLocales }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "telepathy-glib-0.24.1";
|
name = "telepathy-glib-0.24.1";
|
||||||
|
@ -10,10 +10,10 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
|
configureFlags = stdenv.lib.optional valaSupport "--enable-vala-bindings";
|
||||||
|
LC_ALL = "en_US.UTF-8";
|
||||||
propagatedBuildInputs = [dbus_glib glib python gobjectIntrospection];
|
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 = ''
|
preConfigure = ''
|
||||||
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
|
substituteInPlace telepathy-glib/telepathy-glib.pc.in --replace Requires.private Requires
|
||||||
|
|
Loading…
Reference in New Issue