environment: Use 'evaluate-search-paths'.
commitb9ea6c6bf4948fd15876c915febad430e3177e42
authorLudovic Courtès <ludo@gnu.org>
Tue, 5 May 2015 12:10:57 +0000 (5 14:10 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 5 May 2015 13:13:59 +0000 (5 15:13 +0200)
tree4f95d1edb1330b637a4c62ed58bd2b0636bf6e35
parentfdfa753c69acb00e4d79ee82f8772bde3e1a6cd6
environment: Use 'evaluate-search-paths'.

This allows 'guix environment' to correctly handle non-directory
and/or pattern search-path specifications, such as that for
'XML_CATALOG_FILES'.

* guix/scripts/environment.scm (for-each-search-path): Use
  'evaluate-search-paths' instead of 'search-path-as-list' & co.
guix/scripts/environment.scm