self: Shrink the module search path of the 'guix' command.
authorLudovic Courtès <ludo@gnu.org>
Mon, 27 Aug 2018 20:17:12 +0000 (22:17 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 27 Aug 2018 21:22:17 +0000 (23:22 +0200)
commitf2d0a2cf5c905abf816bef5d69364d28af5144ed
tree6371eab1751997018be5d5b93b9065cf2d793a5f
parent0de33cb364a75c15d3ffad84f980e629d8753d60
self: Shrink the module search path of the 'guix' command.

Previously we'd have lots of useless entries on the search paths, such
as libtasn1, libidn2, zlib, gmp, etc. because they are propagated by
gnutls.

* guix/self.scm (guix-command)[source-directories, object-directories]:
New variables.  Use them in the body of "guix-command".  Filter their
items with 'file-exists?'.
guix/self.scm