From 3cc0342b45406f97d675266cc9ac7877be855122 Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@fastmail.com>
Date: Thu, 1 Dec 2016 23:30:49 +0100
Subject: [PATCH] gnu: dblatex: Do not use python setuptools for building.

* gnu/packages/docbook.scm (dblatex)[arguments]: Set #:use-setuptools?
to false.
---
 gnu/packages/docbook.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 8efe417054f..d0895772f78 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -192,6 +192,11 @@ (define-public dblatex
        ("libxslt" ,libxslt)))           ;for xsltproc
     (arguments
      `(#:python ,python-2               ;'print' syntax
+       ;; XXX: Disable usage of setuptools, even though it is supported.
+       ;; This causes an invalid "package_base" in out/bin/.dblatex-real
+       ;; due to a missing leading '/'. See this thread for details:
+       ;; https://lists.gnu.org/archive/html/guix-devel/2016-12/msg00030.html
+       #:use-setuptools? #f
        #:tests? #f                      ;no 'test' command
        #:phases
        (alist-cons-after
-- 
GitLab