diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-05 15:02:35 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-05 15:13:59 +0200 |
commit | 8e3a3bc290cf5de266979fdf9abb87891de4f0ab (patch) | |
tree | 98f241f10b9ac43baa4f839f100fa8c1d0ead840 /scripts | |
parent | b9ea6c6bf4948fd15876c915febad430e3177e42 (diff) | |
download | gnu-guix-8e3a3bc290cf5de266979fdf9abb87891de4f0ab.tar gnu-guix-8e3a3bc290cf5de266979fdf9abb87891de4f0ab.tar.gz |
environment: Move iteration outside of 'for-each-search-path'.
* guix/search-paths.scm (search-path-definition): New procedure.
* guix/scripts/environment.scm (for-each-search-path): Rename to...
(evaluate-input-search-paths): ... this. Remove 'proc' and 'pure?'
parameters, and return directly the list of search-path/value pairs.
(create-environment): Use 'for-each' and 'evaluate-input-search-paths'
instead of 'for-each-search-path'.
(show-search-paths): Use 'for-each', 'search-path-definition', and
'evaluate-search-paths' instead of 'for-each-search-path'.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions