diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2021-08-11 15:54:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-08-11 16:35:28 +0200 |
commit | 373e7ac4f9d510d3a58fcdbe9ec2d67eb426336b (patch) | |
tree | 5f8b69cfa8b7a458fd7f13f50a771e1ec306f855 /gnu | |
parent | 168d107abf5608e6a1bfb37ee3448c4087856602 (diff) | |
download | guix-373e7ac4f9d510d3a58fcdbe9ec2d67eb426336b.tar guix-373e7ac4f9d510d3a58fcdbe9ec2d67eb426336b.tar.gz |
transformations: 'with-patch' works on non-origin sources.
Fixes <https://issues.guix.gnu.org/49697>.
Reported by Philippe Swartvagher <philippe.swartvagher@inria.fr>.
* guix/transformations.scm (patched-source): New procedure.
(transform-package-patches)[package-with-extra-patches]: Use it
when (package-source p) is not an origin.
* tests/transformations.scm ("options->transformation, with-commit +
with-patch"): New test.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions