aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-03-08 13:59:23 +0100
committerLudovic Courtès <ludo@gnu.org>2021-03-30 22:48:45 +0200
commit1757abb01f255a8a3ffd1b7e0228b6da89646ad6 (patch)
treed9d850599b5cb6773f715deba340ba6f48af11c0 /gnu/packages
parent324a2355796cd175673f982e5ad48ab8d12e05ee (diff)
downloadguix-1757abb01f255a8a3ffd1b7e0228b6da89646ad6.tar.gz
guix-1757abb01f255a8a3ffd1b7e0228b6da89646ad6.zip
gnu: docbook-xsl: Move 'use-modules' form to the top level.
* gnu/packages/docbook.scm (docbook-xsl)[arguments]: Move 'use-modules' to the top level.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/docbook.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index b41659bc75..acc17f0c80 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
@@ -189,9 +189,12 @@ by no means limited to these applications.) This package provides XML DTDs.")
#t))))
(build-system trivial-build-system)
(arguments
- `(#:builder (let ((name-version (string-append ,name "-" ,version)))
+ `(#:builder (begin
(use-modules (guix build utils))
+ (define name-version
+ (string-append ,name "-" ,version))
+
(let* ((bzip2 (assoc-ref %build-inputs "bzip2"))
(xz (assoc-ref %build-inputs "xz"))
(tar (assoc-ref %build-inputs "tar"))