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,