gnu: btrfs-progs: Fix build.

* gnu/packages/linux.scm (btrfs-progs)[arguments]<#:configure-flags>: Fix
typo.  Splicing MEMBER return value results in an invalid IF form.  The whole
IF should be spliced instead.

Reported-by: mrvdb on #guix.
This commit is contained in:
Nicolas Goaziou 2023-05-31 15:53:47 +02:00
parent 12e6a59238
commit dd15d0ffec
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -5926,18 +5926,18 @@ and copy/paste text in the console and in xterm.")
(arguments (arguments
(list (list
#:configure-flags #:configure-flags
#~(append #~(list
;; Without --disable-documentation, it complains about missing ;; Without --disable-documentation, it complains about missing
;; python-sphinx on systems where this package isn't available ;; python-sphinx on systems where this package isn't available
;; (because it requires Rust). ;; (because it requires Rust).
(if #$@(member (%current-system) #$@(if (member (%current-system)
(package-transitive-supported-systems (package-transitive-supported-systems
python-sphinx)) python-sphinx))
'() '()
(list "--disable-documentation")) '("--disable-documentation"))
;; The Python support was never actually installed by previous ;; The Python support was never actually installed by previous
;; versions of this package, but did prevent cross-compilation. ;; versions of this package, but did prevent cross-compilation.
(list "--disable-python")) "--disable-python")
#:phases #~(modify-phases %standard-phases #:phases #~(modify-phases %standard-phases
(add-after 'unpack 'patch-makefile (add-after 'unpack 'patch-makefile
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)