Skip to content
Snippets Groups Projects
Unverified Commit 92423868 authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

ui: Disable '%fresh-auto-compile' only for Guile 2.2.3.

Mitigates <https://bugs.gnu.org/29881>.
Reported by Diego Nicola Barbato <dnbarbato@posteo.de>.

* guix/ui.scm (load*): Unset '%fresh-auto-compile' only on Guile 2.2.3.
parent 9d4399b8
No related branches found
No related tags found
No related merge requests found
...@@ -195,7 +195,16 @@ (define tag ...@@ -195,7 +195,16 @@ (define tag
(catch #t (catch #t
(lambda () (lambda ()
;; XXX: Force a recompilation to avoid ABI issues. ;; XXX: Force a recompilation to avoid ABI issues.
;; (set! %fresh-auto-compile #t) ;;
;; In 2.2.3, the bogus answer to <https://bugs.gnu.org/29226> was to
;; ignore all available .go, not just those from ~/.cache, which in turn
;; meant that we had to rebuild *everything*. Since this is too costly,
;; we have to turn auto '%fresh-auto-compile' with that version, at the
;; risk of getting ABI breakage in the user's config file. See
;; <https://bugs.gnu.org/29881>.
(unless (string=? (version) "2.2.3")
(set! %fresh-auto-compile #t))
(set! %load-should-auto-compile #t) (set! %load-should-auto-compile #t)
(save-module-excursion (save-module-excursion
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment