profiles: Implicitly set GUIX_EXTENSIONS_PATH.
author(unmatched-parenthesis <paren@disroot.org>
Sun, 21 Aug 2022 15:43:48 +0000 (16:43 +0100)
committerEfraim Flashner <efraim@flashner.co.il>
Wed, 7 Sep 2022 08:30:31 +0000 (11:30 +0300)
commitbbc1735be26c56d443f96f9d2dac7cd4429478ef
tree6e2b14fb1f13bcc1fc065b52864ac051609d57ab
parent0321ceef08e53febe18a218fe355c4757560de0d
profiles: Implicitly set GUIX_EXTENSIONS_PATH.

* guix/build/profiles.scm (manifest-sexp->inputs+search-paths):
Always return a search path for GUIX_EXTENSIONS_PATH.
* guix/search-paths.scm ($GUIX_EXTENSIONS_PATH): New variable.

This allows Guix to find extensions without any need for users to
set GUIX_EXTENSIONS_PATH manually.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
guix/build/profiles.scm
guix/search-paths.scm