diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-03-31 22:55:41 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-03-31 22:55:41 +0200 |
commit | 1968262a237e398f12a25eb2cbda4c944a2ce1bf (patch) | |
tree | ca19000b362d3a15b0c19b2508b7a30f444bdf24 /gnu/packages/bootstrap | |
parent | f8503e2b2588391c4c0f8d8dd11ef3e9449a2884 (diff) | |
download | patches-1968262a237e398f12a25eb2cbda4c944a2ce1bf.tar patches-1968262a237e398f12a25eb2cbda4c944a2ce1bf.tar.gz |
utils: 'find-files' takes an arbitrary predicate as its second argument.
* guix/build/utils.scm (file-name-predicate): New procedure.
(find-files): Rename second parameter to 'pred'. When 'pred' is not a
procedure, call 'file-name-predicate'. Use PRED instead of
'regexp-exec' in the leaf procedure.
Diffstat (limited to 'gnu/packages/bootstrap')
0 files changed, 0 insertions, 0 deletions