[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28510: crash: guix build -S foo --with-source=bla
From: |
Josselin Poiret |
Subject: |
bug#28510: crash: guix build -S foo --with-source=bla |
Date: |
Tue, 20 Sep 2022 21:42:41 +0200 |
Hi Simon,
zimoun <zimon.toutoune@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