GNU bug report logs - #68498
[PATCH] guix-install.sh: Make Guix modules available too.

Previous Next

Package: guix-patches;

Reported by: Janneke Nieuwenhuizen <janneke <at> gnu.org>

Date: Tue, 16 Jan 2024 08:28:02 UTC

Severity: normal

Tags: patch

Done: Janneke Nieuwenhuizen <janneke <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 68498 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Janneke Nieuwenhuizen <janneke <at> gnu.org>
Cc: 68498 <at> debbugs.gnu.org
Subject: Re: [bug#68498] [PATCH] guix-install.sh: Make Guix modules
 available too.
Date: Mon, 29 Jan 2024 17:05:44 +0100
Janneke Nieuwenhuizen <janneke <at> gnu.org> skribis:

>> Packages that extend Guix functionality, like Cuirass and hpcguix-web,
>> have ‘guix’ in their inputs.  That’s fine: they use just the core (guix …)
>> modules to interact with the store etc.
>>
>> Is that what the kind of use case you had in mind?
>
> Yes.  I always believed this was a big no-no, but adding guix to the
> packages' inputs in guix.scm would also work.

Yes, and it’s even unavoidable for software that depends on (guix …)
modules.

> I'm still somewhat puzzled about why setting GUILE_LOAD[_COMPILED]_PATH
> would be a bad idea, but unless someone else decides to chimes some time
> soon in I guess we can close this bug.

It’s not too bad, but (1) it could break the user’s setup (for instance
if they’ve installed some incompatible Guile versions via the host
distro and all of a sudden Guile 3.0.9 modules show up in the search
path), and (2) one could just as well consider special-casing ‘CPATH’ or
‘GUIX_PYTHONPATH’.

So I think we can close, but again, if I misunderstood how the status
quo is a hindrance, I’m open to this change or any other solution.

Ludo’.




This bug report was last modified 1 year and 86 days ago.

Previous Next


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