guix-devel/guix/build
Ludovic Courtès 8197c978ef utils: Change `substitute*' to allow iteration over several matches.
* guix/build/utils.scm (substitute): Do not pass the OUT to PROC; use
  `list-matches' instead of `regexp-exec' and pass a list of matches to
  PROC. Expect PROC to return a string, and output that.  Fold over
  RX+PROC in order.  Use `(read-line p 'concat)' to include the trailing
  delimiter in LINE.
  (substitute*): Produce code to iterate over the matches, and return a
  string, which includes anything from the original line that's in
  between matches.

* distro/base.scm (gcc-4.7, glibc): Adjust accordingly: remove use
  of (ice-9 regex) and `regexp-substitute/global'; return a string.
2012-09-01 19:21:31 +02:00
..
gnu-build-system.scm build-system/gnu: Add `path-exclusions' parameter. 2012-09-01 01:14:31 +02:00
http.scm Augment `build-expression->derivation' with #:modules; add `http-fetch'. 2012-06-12 00:18:14 +02:00
utils.scm utils: Change `substitute*' to allow iteration over several matches. 2012-09-01 19:21:31 +02:00