[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/6] build-system/emacs: Use "emacs" from native-inputs if sp
From: |
Alex Kost |
Subject: |
Re: [PATCH 2/6] build-system/emacs: Use "emacs" from native-inputs if specified. |
Date: |
Sat, 21 May 2016 00:21:36 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ludovic Courtès (2016-05-19 14:54 +0300) wrote:
> Alex Kost <address@hidden> skribis:
>
>> * guix/build-system/emacs.scm (lower): Do not add "emacs" to
>> build-inputs if it is already specified in the native-inputs.
>
> In theory, one could want to have Emacs both in ‘native-inputs’ (to
> build .elc files, for instance) and in ‘inputs’ (for instance because
> the program embeds a reference to the ‘emacs’ program.)
I don't see a problem here, if "emacs" should be added to inputs, it may
just go there. Nothing prohibits it.
> So I’m rather reluctant about this approach.
>
> Did you find packages where Emacs wrongfully appears twice in the
> inputs? It might be best to fix those packages instead.
Do you mean: appears both in "inputs" and "native-inputs"? If so, then
no, there are no such packages.
But I don't understand how this concerns. The purpose of this patch is
to allow us to use a different "emacs" to build emacs packages. I
would say this is the core patch of the whole patchset. I didn't like
the fact that emacs-build-system uses a full-featured (and heavy on
dependencies) "emacs" package, and I would like to use "emacs-minimal"
instead. But for some rare cases (currently only for auctex),
"emacs-minimal" (or "emacs-no-x") is not enough, so it should be
substituted somehow. That's why I made this patch.
--
Alex
- [PATCH 0/6] Modifications in building emacs packages., Alex Kost, 2016/05/16
- [PATCH 4/6] gnu: emacs-auctex: Use 'emacs' for byte-compiling., Alex Kost, 2016/05/16
- [PATCH 5/6] gnu: Move emacs for building from inputs to native-inputs., Alex Kost, 2016/05/16
- [PATCH 2/6] build-system/emacs: Use "emacs" from native-inputs if specified., Alex Kost, 2016/05/16
- [PATCH 6/6] gnu: Use 'emacs-minimal' instead of 'emacs-no-x'., Alex Kost, 2016/05/16
- [PATCH 3/6] build-system/emacs: Use 'emacs-minimal' as default emacs for building., Alex Kost, 2016/05/16
- [PATCH 1/6] gnu: Add emacs-minimal., Alex Kost, 2016/05/16