linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
0004-fix-VIS_PATH-load-ordering.patch
(838B)
1 From 35da55ed065b50549d44d42bc4acbe5779c33a20 Mon Sep 17 00:00:00 2001
2 From: Jul <jul@qh.is>
3 Date: Sun, 19 Oct 2025 14:04:34 -0400
4 Subject: [PATCH] fix VIS_PATH load ordering
5
6 ---
7 vis-lua.c | 3 +--
8 1 file changed, 1 insertion(+), 2 deletions(-)
9
10 diff --git a/vis-lua.c b/vis-lua.c
11 index f7e9001..8b3faaf 100644
12 --- a/vis-lua.c
13 +++ b/vis-lua.c
14 @@ -3170,6 +3170,7 @@ static void vis_lua_init(Vis *vis) {
15 */
16 char path[PATH_MAX];
17
18 + vis_lua_path_add(vis, getenv("VIS_PATH"));
19 vis_lua_path_add(vis, VIS_PATH);
20
21 /* try to get users home directory */
22 @@ -3207,8 +3208,6 @@ static void vis_lua_init(Vis *vis) {
23 }
24 }
25
26 - vis_lua_path_add(vis, getenv("VIS_PATH"));
27 -
28 /* table in registry to lookup object type, stores metatable -> type mapping */
29 lua_newtable(L);
30 lua_setfield(L, LUA_REGISTRYINDEX, "vis.types");
31 --
32 2.51.0
33