* [bug#32481] [PATCH] gnu: luakit: fix crash on startup
@ 2018-08-20 14:54 Raphaël Mélotte
2018-08-21 21:22 ` bug#32481: " Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Raphaël Mélotte @ 2018-08-20 14:54 UTC (permalink / raw)
To: 32481
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: gnu: luakit: fix crash on startup --]
[-- Type: text/x-diff, Size: 1414 bytes --]
From 66ba3eebc4faa094d042d8462c7df9fbb79064a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= <raphael.melotte@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
[-- Attachment #2: Type: text/plain, Size: 26 bytes --]
--
Raphaël Mélotte
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#32481: [PATCH] gnu: luakit: fix crash on startup
2018-08-20 14:54 [bug#32481] [PATCH] gnu: luakit: fix crash on startup Raphaël Mélotte
@ 2018-08-21 21:22 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-08-21 21:22 UTC (permalink / raw)
To: Raphaël Mélotte; +Cc: 32481-done
Raphaël Mélotte <raphael.melotte@gmail.com> skribis:
>>From 66ba3eebc4faa094d042d8462c7df9fbb79064a0 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= <raphael.melotte@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.
Applied. “guix environment --ad-hoc luakit -- luakit” works like a
charm now, thank you!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-21 21:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-20 14:54 [bug#32481] [PATCH] gnu: luakit: fix crash on startup Raphaël Mélotte
2018-08-21 21:22 ` bug#32481: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).