guix-play/guix
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
..
build utils: Change `substitute*' to allow iteration over several matches. 2012-09-01 19:21:31 +02:00
build-system build-system/gnu: Add `path-exclusions' parameter. 2012-09-01 01:14:31 +02:00
build-system.scm Abstract build systems. 2012-06-27 23:58:07 +02:00
derivations.scm Add a guile-for-build' parameter to build-expression->derivation'. 2012-09-01 11:45:52 +02:00
http.scm Add a declarative packaging layer. 2012-06-28 01:24:34 +02:00
packages.scm packages: Raise an error condition upon invalid input. 2012-08-23 23:09:13 +02:00
store.scm Add `close-connection'. 2012-08-22 17:25:47 +02:00
utils.scm define-record-type*: Add the `inherit' syntactic constructor keyword. 2012-08-30 00:18:50 +02:00