GNU bug report logs - #28510
crash: guix build -S foo --with-source=bla

Previous Next

Package: guix;

Reported by: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>

Date: Tue, 19 Sep 2017 12:11:02 UTC

Severity: normal

Full log


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

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: zimoun <zimon.toutoune <at> gmail.com>, Maxime Devos
 <maximedevos <at> telenet.be>, Jérémy Korwin-Zmijowski
 <jeremy <at> korwin-zmijowski.fr>, 28510 <at> debbugs.gnu.org
Subject: Re: bug#28510: crash: guix build -S foo --with-source=bla
Date: Tue, 20 Sep 2022 21:42:41 +0200
Hi Simon,

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

> Well, I would add an error handler; as proposed [1]. :-)  Because does
> “guix build foo --source --with-source=bla” make sense?  What is the
> use-case for such command?

My bad, I didn't see the previous discussion on the subject.  To me, the
lack of generality would be unexpected: if I have a package with a
source, I expect to be able to get that source, whatever the source may
be.  Maxime's minimal example shows that it could happen for a variety
of different reasons, not just a --with-source= flag.  I don't know what
a proper fix for it would be though, since we're passing things around
that we pretend are derivations but are not, and in many places.

Best,
-- 
Josselin Poiret




This bug report was last modified 336 days ago.

Previous Next


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