Subject: Re: bug#26559: [PATCH 2/3] gnu: emacs-slime: Add arguments to work with new `install' phase.

From: Alex Kost <[email-masked]>
Date: Tue, 02 May 2017 13:10:22 +0300

Arun Isaac (2017-04-26 19:39 +0530) wrote:

> * gnu/packages/emacs.scm (emacs-slime)[arguments]: Add #:include and #:exclude
>   arguments.
> ---
>  gnu/packages/emacs.scm | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 14d851184..9c919c49d 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -2333,7 +2333,10 @@ in @code{html-mode}.")
>      (native-inputs
>       `(("texinfo" ,texinfo)))
>      (arguments
> -     `(#:phases
> +     `(#:include '("\\.el$" "\\.lisp$" "\\.asd$" "\\.goo$"
> +                   "\\.ss$" "\\.k$" "\\.scm$" "\\.rb$" "\\.sml$")

All these additional files are placed in "contrib" directory, so what
about the following list:

  #:include '("\\.el$" "\\.lisp$" "\\.asd$" "^contrib/")

> +       #:exclude '("^contrib/test/")

and excluding Makefile from there:

  #:exclude '("^contrib/test/" "^contrib/Makefile")

> +       #:phases
>         (modify-phases %standard-phases
>           (add-before 'install 'configure
>             (lambda* _

-- 
Alex