~ruther/guix-local

dd15d0ffecb988ecaee37379f5e85d9bdfe2fe89 — Nicolas Goaziou 3 years ago 12e6a59
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.
1 files changed, 5 insertions(+), 5 deletions(-)

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