GNU bug report logs -
#32481
[PATCH] gnu: luakit: fix crash on startup
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[0001-gnu-luakit-Fix-crash-on-startup.patch (text/x-diff, inline)]
From 66ba3eebc4faa094d042d8462c7df9fbb79064a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= <raphael.melotte <at> posteo.net>
Date: Mon, 20 Aug 2018 16:20:05 +0200
Subject: [PATCH] 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.
---
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 397f4a313..45252c933 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
--
2.11.0
[Message part 2 (text/plain, inline)]
--
Raphaël Mélotte
This bug report was last modified 6 years and 358 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.