guix-patches
[Top][All Lists]
Advanced

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

[bug#28273] [PATCH] gnu: Fix current-guix.


From: Ludovic Courtès
Subject: [bug#28273] [PATCH] gnu: Fix current-guix.
Date: Thu, 31 Aug 2017 15:18:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Christopher Baines <address@hidden> 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’.





reply via email to

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