From 260b07a7d0e67bd9a22259192b6e4222e468b0d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Sun, 12 Apr 2015 14:45:08 +0200
Subject: [PATCH] gnu: gtk+: Pass --with-html-dir=$doc.

Fixes a regression introduced in 6b1f238.

* gnu/packages/gtk.scm (gtk+)[arguments]: Add #:configure-flags.
---
 gnu/packages/gtk.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index cd36ebfd650..cd54cfc5b99 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -505,7 +505,12 @@ (define-public gtk+
       ("python-wrapper" ,python-wrapper)
       ("xorg-server" ,xorg-server)))
    (arguments
-    `(#:phases
+    `(;; 47 MiB goes to "out" (24 of which is locale data!), and 26 MiB goes
+      ;; to "doc".
+      #:configure-flags (list (string-append "--with-html-dir="
+                                             (assoc-ref %outputs "doc")
+                                             "/share/gtk-doc/html"))
+      #:phases
       (alist-cons-before
        'configure 'pre-configure
        (lambda _
-- 
GitLab