[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: docbook-xsl: Move 'use-modules' form to the top level.
From: |
guix-commits |
Subject: |
01/03: gnu: docbook-xsl: Move 'use-modules' form to the top level. |
Date: |
Mon, 8 Mar 2021 17:24:50 -0500 (EST) |
civodul pushed a commit to branch wip-build-systems-gexp
in repository guix.
commit d0de52cce5701e1eb3b69996258a15eea6ddda93
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Mar 8 13:59:23 2021 +0100
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.
---
gnu/packages/docbook.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index f797c97..b21aeb9 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"))