unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] emacs: Use 'build-and-use-profile' from (guix scripts package).
Date: Tue, 05 Apr 2016 11:59:02 +0200	[thread overview]
Message-ID: <877fgcv0k9.fsf@gnu.org> (raw)
In-Reply-To: <87egazdjue.fsf@gmail.com> (Alex Kost's message of "Fri, 25 Mar 2016 11:48:09 +0300")

Alex Kost <alezost@gmail.com> 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	other threads:[~2016-04-05  9:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-25  8:48 [PATCH] emacs: Use 'build-and-use-profile' from (guix scripts package) Alex Kost
2016-04-05  9:59 ` Ludovic Courtès [this message]
2016-04-05 22:04   ` Alex Kost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fgcv0k9.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).