gnu: guix: Honor the user's 'GUILE_LOAD_PATH'.

* gnu/packages/package-management.scm (guix-0.11.0)[arguments]: Use
'prefix' when wrapping 'guix' for 'GUILE_LOAD_PATH'.
This commit is contained in:
Ludovic Courtès 2016-10-04 22:40:46 +02:00
parent 6e52376d2e
commit acbf2c4f60
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -154,7 +154,7 @@ (define (copy arch)
;; incompatible .go files as reported at
;; <https://lists.gnu.org/archive/html/guix-devel/2016-03/msg01261.html>.
(wrap-program (string-append out "/bin/guix")
`("GUILE_LOAD_PATH" ":" = (,path))
`("GUILE_LOAD_PATH" ":" prefix (,path))
`("GUILE_LOAD_COMPILED_PATH" ":" = (,path)))
#t))))))