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 <ludo@gnu.org>
This commit is contained in:
parent
c305ac30c3
commit
f998453559
|
@ -187,7 +187,9 @@ features including, tables, builtin image display, bookmarks, SSL and more.")
|
||||||
(wrap-program (string-append luakit "/bin/luakit")
|
(wrap-program (string-append luakit "/bin/luakit")
|
||||||
`("LUA_CPATH" prefix
|
`("LUA_CPATH" prefix
|
||||||
(,(string-append lua5.1-filesystem
|
(,(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))))))
|
#t))))))
|
||||||
(synopsis "Fast, lightweight, and simple browser based on WebKit")
|
(synopsis "Fast, lightweight, and simple browser based on WebKit")
|
||||||
(description "Luakit is a fast, lightweight, and simple to use
|
(description "Luakit is a fast, lightweight, and simple to use
|
||||||
|
|
Loading…
Reference in New Issue