From e44038bccab0cae96a93fa517a9acaab9c81a6d8 Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 20 Jan 2018 15:08:27 +0100 Subject: [PATCH] gobjectIntrospection: use absolute path for cairo GIR Cairo does not provide its own GObject bindinds so they are provided by gobject-introspection package. Unfortunately, this means that if we want to use the absolute path, we need gi to depend on cairo, which increases the closure size from 41M to 56M. We will probably want to split the typelib into a separate output. Closes: #34080 --- .../absolute_gir_path.patch | 11 +++++++++++ .../libraries/gobject-introspection/default.nix | 17 ++++++++++++----- 2 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 pkgs/development/libraries/gobject-introspection/absolute_gir_path.patch diff --git a/pkgs/development/libraries/gobject-introspection/absolute_gir_path.patch b/pkgs/development/libraries/gobject-introspection/absolute_gir_path.patch new file mode 100644 index 00000000000..f7e1bedd3e1 --- /dev/null +++ b/pkgs/development/libraries/gobject-introspection/absolute_gir_path.patch @@ -0,0 +1,11 @@ +--- a/gir/cairo-1.0.gir.in ++++ b/gir/cairo-1.0.gir.in +@@ -5,7 +5,7 @@ + xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> + + +