guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: website: Adjust load path ordering.


From: Ludovic Courtès
Subject: 01/01: website: Adjust load path ordering.
Date: Tue, 8 Oct 2019 09:07:24 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix-artwork.

commit 1b863ce624a1a15848de18b5c23cc1c25ef6a222
Author: Ludovic Courtès <address@hidden>
Date:   Tue Oct 8 15:04:58 2019 +0200

    website: Adjust load path ordering.
    
    * website/.guix.scm (build): Prepend to "GUILE_LOAD_PATH" and
    "GUILE_LOAD_COMPILED_PATH" instead of appending.  This avoids ABI
    mismatches.
---
 website/.guix.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/website/.guix.scm b/website/.guix.scm
index f6e50fb..c3fac70 100644
--- a/website/.guix.scm
+++ b/website/.guix.scm
@@ -84,11 +84,11 @@
             (match (read pipe)
               (('values ('value ((load-path ...) (compiled-path ...))))
                (setenv "GUILE_LOAD_PATH" (string-join
-                                          (append %load-path load-path)
+                                          (append load-path %load-path)
                                           ":"))
                (setenv "GUILE_LOAD_COMPILED_PATH"
-                       (string-join (append %load-compiled-path
-                                            compiled-path)
+                       (string-join (append compiled-path
+                                            %load-compiled-path)
                                     ":"))))
             (close-pipe pipe))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]