all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Diego Nicola Barbato <dnbarbato@posteo.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 30370@debbugs.gnu.org
Subject: bug#30370: guix system init can't find guix-register
Date: Sun, 11 Feb 2018 18:32:38 +0100	[thread overview]
Message-ID: <87inb35t55.fsf@GlaDOS.home> (raw)
In-Reply-To: <87fu6aywks.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 09 Feb 2018 17:08:51 +0100")

Hello,

ludo@gnu.org (Ludovic Courtès) writes:

> Diego Nicola Barbato <dnbarbato@posteo.de> skribis:
>
>> But I also tried running
>> "grep -r d4wwx93gqizx132zjk7h1ir7rzph0pig ~/.config/guix/latest" which
>> returned this:
>> /home/diego/.config/guix/latest/guix/config.scm:  "/gnu/store/d4wwx93gqizx132zjk7h1ir7rzph0pig-guix-0.12.0-10.ba2260d/sbin")
>
> Bingo!  This string is inherit from the (guix config) of your initial
> installation, the one you used to run ‘guix pull’.
>
> I would call this a ‘guix pull’ bug.

I think this is a bug in the ‘build’ procedure defined in build-self.scm
which is used by guix pull’ and which uses the (guix build pull) module
to generate a new config.scm.  It uses the value for %sbindir defined in
(guix config) which causes it to be passed on unchanged.
My guess is that (find-best-packages-by-name "guix" #f) should be used
to determine the correct guix instead, which is how the values for the
dependencies (libgcrypt, zlib, ...) are determined, and that this should
be used to get the sbin directory with ‘string-append’.
WDYT?

Greetings

Diego

  reply	other threads:[~2018-02-11 17:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-06 17:05 bug#30370: guix system init can't find guix-register Diego Nicola Barbato
2018-02-08 13:50 ` Ludovic Courtès
2018-02-08 15:59   ` Diego Nicola Barbato
2018-02-08 22:00     ` Ludovic Courtès
2018-02-09 10:26       ` Diego Nicola Barbato
2018-02-09 10:55         ` Ludovic Courtès
2018-02-09 13:04           ` Diego Nicola Barbato
2018-02-09 16:08             ` Ludovic Courtès
2018-02-11 17:32               ` Diego Nicola Barbato [this message]
2018-02-16 10:19                 ` Ludovic Courtès

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

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

  git send-email \
    --in-reply-to=87inb35t55.fsf@GlaDOS.home \
    --to=dnbarbato@posteo.de \
    --cc=30370@debbugs.gnu.org \
    --cc=ludo@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.