GNU bug report logs - #26559
[PATCH] build: emacs: Install only a subset of files.

Previous Next

Package: guix-patches;

Reported by: Arun Isaac <arunisaac <at> systemreboot.net>

Date: Wed, 19 Apr 2017 07:37:01 UTC

Severity: normal

Tags: patch

Done: Arun Isaac <arunisaac <at> systemreboot.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alex Kost <alezost <at> gmail.com>
To: Arun Isaac <arunisaac <at> systemreboot.net>
Cc: 26559 <at> debbugs.gnu.org
Subject: bug#26559: [PATCH 2/3] gnu: emacs-slime: Add arguments to work with new `install' phase.
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




This bug report was last modified 8 years and 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.