GNU bug report logs - #42155
--with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively

Previous Next

Package: guix;

Reported by: pkill9 <pkill9 <at> runbox.com>

Date: Wed, 1 Jul 2020 16:54:01 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: pkill9 <pkill9 <at> runbox.com>
Subject: bug#42155: closed (Re: bug#42155: --with-source=PACKAGE=REPLACEMENT-SOURCE
 doesn't work recursively)
Date: Tue, 21 Feb 2023 13:19:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#42155: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 42155 <at> debbugs.gnu.org.

-- 
42155: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42155
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: pkill9 <pkill9 <at> runbox.com>, 42155-done <at> debbugs.gnu.org,
 Efraim Flashner <efraim <at> flashner.co.il>
Subject: Re: bug#42155: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't
 work recursively
Date: Tue, 21 Feb 2023 08:18:46 -0500
Hi,

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

> pkill9 <pkill9 <at> runbox.com> skribis:
>
>>> I think what you're looking for is more of:
>>> 
>>> guix build --no-grafts mpv --with-input=youtube-dl=$(guix build
>>> --no-grafts youtube-dl
>>> --with-source=https://github.com/ytdl-org/youtube-dl/releases/download/2020.06.16/youtube-dl-2020.06.16.tar.gz)
>>> 
>>> This didn't work for me though, I got:
>>> guix build: error:
>>> /gnu/store/9ncacjhzwlchpr1y5fd8ahdq59dsya20-youtube-dl-2020.06.16:
>>> unknown package
>>
>> Even if that worked, it doesn't fix the issue of the --with-source flag
>> not working on the specified package's inputs.
>
> ‘--with-source’ is documented to be “shallow”: unlike ‘--with-input’ &
> co., it doesn’t apply recursively.
>
> I think we should change it though.

Closing, since that's been implemented per
28ade1bab207974cce6a014e7187968511fc5526 ("transformations:
'--with-source' now operates in depth.") last September.

-- 
Thanks,
Maxim

[Message part 3 (message/rfc822, inline)]
From: pkill9 <pkill9 <at> runbox.com>
To: bug-guix <at> gnu.org
Subject: --with-source=PACKAGE=REPLACEMENT-SOURCE doesn't work recursively
Date: Wed, 1 Jul 2020 17:53:31 +0100
For example, `guix build --with-source=youtube-dl=blahblah mpv` builds
mpv normally, after giving a message: guix build: warning:
transformation 'with-source' had no effect on mpv <at> 0.32.0



This bug report was last modified 2 years and 91 days ago.

Previous Next


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