diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2022-09-23 19:04:29 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-09-29 22:59:49 +0200 |
commit | 28ade1bab207974cce6a014e7187968511fc5526 (patch) | |
tree | e0a79545d3460fca04a72c31083f2e74e4c5af53 /tests/openpgp.scm | |
parent | 1bf18818c66fbdd329211e18c85ccd310fa74890 (diff) | |
download | guix-28ade1bab207974cce6a014e7187968511fc5526.tar guix-28ade1bab207974cce6a014e7187968511fc5526.tar.gz |
transformations: '--with-source' now operates in depth.
The '--with-source' option is the first one that was implemented, and
it's the only one that would operate only on leaf packages rather than
traversing the dependency graph. This change makes it consistent with
the rest of the transformation options.
* guix/transformations.scm (evaluate-source-replacement-specs): New
procedure.
(transform-package-source): Rewrite using it.
* tests/transformations.scm ("options->transformation, with-source, no
matches"): Rewrite since we no longer get a warning.
("options->transformation, with-source, in depth"): New test.
* doc/guix.texi (Package Transformation Options): Adjust examples.
Diffstat (limited to 'tests/openpgp.scm')
0 files changed, 0 insertions, 0 deletions