Jesse Gibbons <email@example.com> skribis:
On 9/11/20 9:43 AM, Ludovic Courtès wrote:
So maybe drop the second clause for non-recursive replacement, and
‘transform-package-source’ as well.
I included a fallback to transform-package-source because the
$ ./pre-inst-env guix build --with-source=$(guix build --source
guix build: error: invalid source replacement specification:
This does not fail when I fall back to the non-recursive logic.
I can drop transform-package-source, but I will need to do some more
hacking to figure out how the package name and version are parsed from
the file name as described in the manual, and move it to the logic in
Yes, that’d be nice. Namely, if you do:
guix build hello --source=hello-1.2.3.tar.gz
it should work just as now (from the source file name, we assume that
the source applies to package “hello”).
guix build hello --source=xyz-hello-1.2.3.tar.gz
would have no effect. It would not even emit a warning, unlike now.
I'm not going to have as much free time starting next week, so I might
not be able to do that for a while, but I will try to get it done
Sure, let’s stay in touch, I think we’re almost done!