GNU bug report logs - #76143
[PATCH] gnu: Canonicalize paths before comparing.

Previous Next

Package: guix-patches;

Reported by: Noé Lopez <noe <at> xn--no-cja.eu>

Date: Sat, 8 Feb 2025 13:37:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Noé Lopez <noe <at> xn--no-cja.eu>
Cc: Josselin Poiret <dev <at> jpoiret.xyz>, Simon Tournier <zimon.toutoune <at> gmail.com>, Mathieu Othacehe <othacehe <at> gnu.org>, Tobias Geerinckx-Rice <me <at> tobias.gr>, 76143 <at> debbugs.gnu.org, Christopher Baines <guix <at> cbaines.net>
Subject: [bug#76143] [PATCH] gnu: Canonicalize paths before comparing.
Date: Fri, 21 Feb 2025 11:21:25 +0100
Hi,

Noé Lopez <noe <at> noé.eu> skribis:

> The problem I faced was that I needed to create environment variables by
> hand so that I could load guile code (including guix’s) in a C program
> with no external environment (the packagekit daemon).  It would fail
> because of not finding patches since I had a trailing slash in my path.

I don’t fully understand the situation.  My suggestion (but perhaps
you’re already doing that) would be for PackageKit to invoke ‘guix
repl’, not ‘guile’.  The raison d’être of ‘guix repl’ was precisely to
have the load path for Guix and all its dependencies properly set up.

Ludo’.




This bug report was last modified 118 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.