From f9984535593de3f76d0df669f15e67061e18cd24 Mon Sep 17 00:00:00 2001 From: Raphaël Mélotte Date: Mon, 20 Aug 2018 16:20:05 +0200 Subject: gnu: luakit: Fix crash on startup. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- 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 397f4a3133..45252c933d 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 -- cgit v1.2.3