all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Christopher Baines <mail@cbaines.net>
Cc: 28273@debbugs.gnu.org
Subject: [bug#28273] [PATCH] gnu: Fix current-guix.
Date: Thu, 31 Aug 2017 15:18:37 +0200	[thread overview]
Message-ID: <87val3ri36.fsf@gnu.org> (raw)
In-Reply-To: <20170829064930.19849-1-mail@cbaines.net> (Christopher Baines's message of "Tue, 29 Aug 2017 07:49:30 +0100")

Christopher Baines <mail@cbaines.net> skribis:

> Without this change, I get errors like:
>   ERROR: In procedure string-drop:
>   ERROR: Value out of range 0 to 35: 51
>
> * gnu/packages/package-management.scm (current-guix): Pass exactly the same
>   path to git-predicate and local-file, to ensure that the select? function is
>   compatible.

Good catch, LGTM.

I think that fundamentally, we should arrange for ‘git-predicate’ to not
do any string prefix comparison.  That’s bound to fail.  If we could
somehow restrict it to comparing inode numbers, that’d be perfect.

Ludo’.

  parent reply	other threads:[~2017-08-31 13:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29  6:49 [bug#28273] [PATCH] gnu: Fix current-guix Christopher Baines
2017-08-29  7:00 ` [bug#28273] " Christopher Baines
2017-08-31 13:18 ` Ludovic Courtès [this message]
2017-08-31 21:04   ` bug#28273: [PATCH] gnu: " Christopher Baines

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=87val3ri36.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=28273@debbugs.gnu.org \
    --cc=mail@cbaines.net \
    /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.