mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
0321ceef08
commit
bbc1735be2
2 changed files with 15 additions and 3 deletions
|
@ -179,9 +179,10 @@ search path specifications."
|
|||
(()
|
||||
(values (reverse inputs)
|
||||
(delete-duplicates
|
||||
(cons $PATH
|
||||
(map sexp->search-path-specification
|
||||
(reverse search-paths)))))))))))
|
||||
(cons* $PATH
|
||||
$GUIX_EXTENSIONS_PATH
|
||||
(map sexp->search-path-specification
|
||||
(reverse search-paths)))))))))))
|
||||
|
||||
(define* (build-profile output manifest
|
||||
#:key (extra-inputs '()) (symlink symlink))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue