diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index ac69943ee9..f8623c3748 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -383,11 +383,10 @@ (define-public weechat (build-system cmake-build-system) (outputs '("out" "doc")) (native-inputs - `(("gettext-minimal" ,gettext-minimal) - ("pkg-config" ,pkg-config) - ,@(if (target-x86?) - `(("ruby-asciidoctor" ,ruby-asciidoctor)) - '()))) + (append (list gettext-minimal pkg-config) + (if (target-x86?) + (list ruby-asciidoctor) + '()))) (inputs (list aspell curl @@ -405,25 +404,25 @@ (define-public weechat tcl cjson)) (arguments - `(#:configure-flags - (list "-DENABLE_PHP=OFF" - ,@(if (target-x86?) - '("-DENABLE_MAN=ON" - "-DENABLE_DOC=ON" - "-DENABLE_DOC_INCOMPLETE=ON") - '())) - #:phases - (modify-phases %standard-phases - ,@(if (target-x86?) - '((add-after 'install 'move-doc - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (doc (assoc-ref outputs "doc")) - (from (string-append out "/share/doc/weechat")) - (to (string-append doc "/share/doc/weechat"))) - (mkdir-p (string-append doc "/share/doc")) - (rename-file from to))))) - '())))) + (list #:configure-flags + #~(list "-DENABLE_PHP=OFF" + #$@(if (target-x86?) + #~("-DENABLE_MAN=ON" + "-DENABLE_DOC=ON" + "-DENABLE_DOC_INCOMPLETE=ON") + #~())) + #:phases + #~(modify-phases %standard-phases + #$@(if (target-x86?) + #~((add-after 'install 'move-doc + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (assoc-ref outputs "doc")) + (from (string-append out "/share/doc/weechat")) + (to (string-append doc "/share/doc/weechat"))) + (mkdir-p (string-append doc "/share/doc")) + (rename-file from to))))) + #~())))) (synopsis "Extensible chat client") (description "WeeChat (Wee Enhanced Environment for Chat) is an @dfn{Internet Relay Chat} (IRC) client, which is designed to be light and fast.