gnu: man-db: Use G-expressions.
* gnu/packages/man.scm (man-db)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
7e91d5d58c
commit
bb2c7e2e13
1 changed files with 65 additions and 63 deletions
|
|
@ -4,7 +4,7 @@
|
|||
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
|
||||
;;; Copyright © 2015, 2016, 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2017–2022 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
|
||||
;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
|
||||
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
||||
|
|
@ -27,6 +27,7 @@
|
|||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
(define-module (gnu packages man)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix download)
|
||||
|
|
@ -134,8 +135,8 @@ a flexible and convenient way.")
|
|||
"0mk7n7yn6scy785jhg1j14b3q9l0cgvpry49r0ldjsnizbnrjv5n"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'patch-source-shebangs 'patch-test-shebangs
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Patch shebangs in test scripts.
|
||||
|
|
@ -162,14 +163,14 @@ a flexible and convenient way.")
|
|||
"/bin/preconv\"")))
|
||||
#t)))
|
||||
#:configure-flags
|
||||
(let ((groff (assoc-ref %build-inputs "groff"))
|
||||
#~(let ((groff (assoc-ref %build-inputs "groff"))
|
||||
(groff-minimal (assoc-ref %build-inputs "groff-minimal"))
|
||||
(less (assoc-ref %build-inputs "less"))
|
||||
(gzip (assoc-ref %build-inputs "gzip"))
|
||||
(bzip2 (assoc-ref %build-inputs "bzip2"))
|
||||
(xz (assoc-ref %build-inputs "xz"))
|
||||
(util (assoc-ref %build-inputs "util-linux")))
|
||||
;; Invoke groff, less, gzip, bzip2, and xz directly from the store.
|
||||
;; Invoke groff, less, gzip, bzip2, & xz directly from the store.
|
||||
(append (list ;; Disable setuid man user.
|
||||
"--disable-setuid"
|
||||
;; Don't constrain ownership of system-wide cache files.
|
||||
|
|
@ -193,9 +194,10 @@ a flexible and convenient way.")
|
|||
|
||||
;; At run time we should refer to GROFF-MINIMAL, not GROFF (the latter
|
||||
;; pulls in Perl.)
|
||||
#:disallowed-references (,groff)
|
||||
#:disallowed-references
|
||||
(list groff)
|
||||
|
||||
#:modules ((guix build gnu-build-system)
|
||||
#:modules '((guix build gnu-build-system)
|
||||
(guix build utils)
|
||||
(srfi srfi-1))))
|
||||
(native-inputs
|
||||
|
|
|
|||
Reference in a new issue