GNU bug report logs - #50597
different fixed-output when using ’--with-source’ transformation

Previous Next

Package: guix;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Wed, 15 Sep 2021 05:52:02 UTC

Severity: normal

Full log


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

From: Ludovic Courtès <ludo <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 50597 <at> debbugs.gnu.org
Subject: Re: bug#50597: different fixed-output when using
 ’--with-source’ transformation
Date: Sat, 18 Sep 2021 18:06:38 +0200
Hello!

zimoun <zimon.toutoune <at> gmail.com> skribis:

> Why the store item of source tarball is it different when applying the
> transformation?
>
> Maxime provided a clue [1].

Maxime is right: ‘--with-source’ passes #:recursive? #t unconditionally,
whereas it’s usually #f for a ‘url-fetch’ kind of URI.

What we could do is make it #t if and only if the URL denotes a local
file and that file is a directory.  I think that would achieve what you
want without any observable regression in practice.

WDYT?

Thanks,
Ludo’.




This bug report was last modified 3 years and 312 days ago.

Previous Next


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