summary refs log tree commit diff
path: root/gnu/installer/hostname.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/installer/hostname.scm
parent079f0eb3d22ce087a811e7f1ab0b0a6042edd209 (diff)
downloadguix-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/installer/hostname.scm')
0 files changed, 0 insertions, 0 deletions