summaryrefslogtreecommitdiff
path: root/gnu/services.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2019-04-13 22:00:45 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2019-05-05 21:21:02 -0400
commita01d54f3bdc5bd8d11fdc82ac5d14a974f6c5a86 (patch)
tree2830c09741407782ae89824dc8029e261caff664 /gnu/services.scm
parent079f0eb3d22ce087a811e7f1ab0b0a6042edd209 (diff)
downloadpatches-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/services.scm')
0 files changed, 0 insertions, 0 deletions