gnu: guix: Don't ignore user's GUILE_LOAD_COMPILED_PATH.

* gnu/packages/package-management.scm (guix-0.12.0): Guile skips invalid .go
  files since 2.0.12 so we don't need to override GUILE_LOAD_COMPILED_PATH to
  prevent problems anymore.
This commit is contained in:
Taylan Ulrich Bayırlı/Kammer 2017-03-18 18:21:00 +01:00
parent 7601b9f7ce
commit 57d0bdf8c6
No known key found for this signature in database
GPG Key ID: A1F4CFCC52836BAC
1 changed files with 1 additions and 6 deletions

View File

@ -147,14 +147,9 @@
ssh "/share/guile/site/2.0:" ssh "/share/guile/site/2.0:"
gnutls "/share/guile/site/2.0"))) gnutls "/share/guile/site/2.0")))
;; Ignore user settings so that a bogus
;; GUILE_LOAD_COMPILED_PATH does not prevent use of
;; 'guix', notably when it contains entries pointing to
;; 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") (wrap-program (string-append out "/bin/guix")
`("GUILE_LOAD_PATH" ":" prefix (,path)) `("GUILE_LOAD_PATH" ":" prefix (,path))
`("GUILE_LOAD_COMPILED_PATH" ":" = (,path))) `("GUILE_LOAD_COMPILED_PATH" ":" prefix (,path)))
#t)))))) #t))))))
(native-inputs `(("pkg-config" ,pkg-config) (native-inputs `(("pkg-config" ,pkg-config)