guix-commits
[Top][All Lists]
Advanced

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

05/05: gnu: luakit: Fix crash on startup.


From: Ludovic Courtès
Subject: 05/05: gnu: luakit: Fix crash on startup.
Date: Tue, 21 Aug 2018 17:30:00 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit f9984535593de3f76d0df669f15e67061e18cd24
Author: Raphaël Mélotte <address@hidden>
Date:   Mon Aug 20 16:20:05 2018 +0200

    gnu: luakit: Fix crash on startup.
    
    * gnu/packages/web-browsers.scm (luakit): add XDG_CONFIG_DIRS to the
      wrapping phase.
    
    This fixes a crash when no configuration file is present in the user's home
    directory. It allows luakit to use it's own default configuration files.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/web-browsers.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 397f4a3..45252c9 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -187,7 +187,9 @@ features including, tables, builtin image display, 
bookmarks, SSL and more.")
                (wrap-program (string-append luakit "/bin/luakit")
                  `("LUA_CPATH" prefix
                    (,(string-append lua5.1-filesystem
-                                    "/lib/lua/5.1/?.so;;"))))
+                                    "/lib/lua/5.1/?.so;;")))
+                 `("XDG_CONFIG_DIRS" prefix
+                   (,(string-append luakit "/etc/xdg/"))))
                #t))))))
     (synopsis "Fast, lightweight, and simple browser based on WebKit")
     (description "Luakit is a fast, lightweight, and simple to use



reply via email to

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