guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] emacs: Use 'build-and-use-profile' from (guix scripts packag


From: Ludovic Courtès
Subject: Re: [PATCH] emacs: Use 'build-and-use-profile' from (guix scripts package).
Date: Tue, 05 Apr 2016 11:59:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Kost <address@hidden> skribis:

> This is to remove code duplication in "emacs/guix-main.scm" and
> "guix/scripts/package.scm" ('build-and-use-profile' did not exist until
> commits 1b67644 and d1ac5c0).
>
> The only important (or maybe not) difference is:
>
>   (set-guile-for-build (default-guile))
>
> in "guix-main.scm" which does not exist in 'build-and-use-profile'.  It
> was introduced in commit 4ad2e76 and I don't really understand why it is
> needed.

For future reference, this was(?) needed because ‘run-with-store’ has
its #:guile parameter default to (%guile-for-build), which itself
defaults to #f (4ad2e76 and e87f059 hint at this.)

I presume that somehow ‘%guile-for-build’ or #:guile gets the right
value in this case.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]