diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-04-13 22:00:45 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-05-05 21:21:02 -0400 |
commit | a01d54f3bdc5bd8d11fdc82ac5d14a974f6c5a86 (patch) | |
tree | 2830c09741407782ae89824dc8029e261caff664 /gnu/ci.scm | |
parent | 079f0eb3d22ce087a811e7f1ab0b0a6042edd209 (diff) | |
download | patches-a01d54f3bdc5bd8d11fdc82ac5d14a974f6c5a86.tar patches-a01d54f3bdc5bd8d11fdc82ac5d14a974f6c5a86.tar.gz |
gnu: docker: Optimize substitution macros.
This change halves the time needed to patch the paths.
* gnu/packages/docker.scm (docker)[phases]{patch-paths}: Allow passing
multiple SOURCE-TEXT, PACKAGE and RELATIVE-PATH tuples so that the rewrite
rules can be generated and processed by a single use of the SUBSTITUTE*
macro. Rename SUBSTITUTE-LOOKPATH to SUBSTITUTE-LOOKPATH* and
substitute-Command to SUBSTITUTE-COMMAND* to denote the change. Adapt the
uses of SUBSTITUTE-LOOKPATH* and SUBSTITUTE-COMMAND*.
Diffstat (limited to 'gnu/ci.scm')
0 files changed, 0 insertions, 0 deletions