[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#32481] [PATCH] gnu: luakit: fix crash on startup
From: |
Raphaël Mélotte |
Subject: |
[bug#32481] [PATCH] gnu: luakit: fix crash on startup |
Date: |
Mon, 20 Aug 2018 16:54:42 +0200 |
User-agent: |
mu4e 1.0; emacs 26.1 |
>From 66ba3eebc4faa094d042d8462c7df9fbb79064a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= <address@hidden>
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
--
Raphaël Mélotte
- [bug#32481] [PATCH] gnu: luakit: fix crash on startup,
Raphaël Mélotte <=