From cf9e1a03f7ce26f4f23e03dd094e2a2615e7457a Mon Sep 17 00:00:00 2001 From: Brandon Dimcheff Date: Sat, 31 Dec 2016 18:13:19 -0500 Subject: [PATCH] add introspection to gmime This was necessary for astroid to work with gmime, and I thought it would be generally useful. --- pkgs/development/libraries/gmime/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gmime/default.nix b/pkgs/development/libraries/gmime/default.nix index 4239b4458b8f..8796a5f67404 100644 --- a/pkgs/development/libraries/gmime/default.nix +++ b/pkgs/development/libraries/gmime/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, pkgconfig, glib, zlib, libgpgerror }: +{ stdenv, fetchurl, pkgconfig, glib, zlib, libgpgerror, gobjectIntrospection }: stdenv.mkDerivation rec { name = "gmime-2.6.20"; @@ -10,8 +10,9 @@ stdenv.mkDerivation rec { outputs = [ "out" "dev" ]; - nativeBuildInputs = [ pkgconfig ]; + nativeBuildInputs = [ pkgconfig gobjectIntrospection ]; propagatedBuildInputs = [ glib zlib libgpgerror ]; + configureFlags = [ "--enable-introspection=yes" ]; enableParallelBuilding = true;