GNU bug report logs - #41602
texlive is actually substitutable

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Fri, 29 May 2020 15:17:01 UTC

Severity: important

Full log


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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Morgan Arnold <morgan.arnold <at> proton.me>
Cc: 41602 <at> debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>,
 Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#41602: texlive is actually substitutable
Date: Mon, 24 Feb 2025 18:32:16 +0100
Hi!

I would rely on #:substitutable? instead of relying on a new
#:distributable? flag that the daemon doesn’t know about anyway.

With that in mind, ‘guix publish’ in ‘render-nar’ could have an extra
check in addition to ‘valid-path?’: ‘substitutable-path?’.

One way to implement ‘substitutable-path?’ is by (1) getting a “deriver”
of the store item with ‘valid-derivers’, and (2) checking whether the
returned derivation (if any) passes ‘substitutable-derivation?’.

One downside is that this extra check could be a bit costly, but it’s a
cost one would only pay when not using ‘--cache’.

Does that make sense?

HTH,
Ludo’.




This bug report was last modified 142 days ago.

Previous Next


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