summary refs log tree commit diff
path: root/gnu/packages/wm.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-02-07 01:34:11 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-02-08 00:16:03 +0100
commit1c58aa6f0ddc0e1811633ecbabc1a02b01edc04b (patch)
treef90d7de76d38b72f4147fb3a179e31b0267cf9d0 /gnu/packages/wm.scm
parent232f344f9b9dc775fe8f9c7db2e45ba20431b071 (diff)
downloadguix-1c58aa6f0ddc0e1811633ecbabc1a02b01edc04b.tar.gz
gnu: lua-lgi: Use current lua package.
* gnu/packages/lua.scm (make-lua-lgi): New function.
(lua-lgi):
(lua5.1-lgi):
(lua5.2-lgi): New variables.
* gnu/packages/wm.scm (awesome)[arguments]: Update LUA_PATH and LUA_CPATH.
Diffstat (limited to 'gnu/packages/wm.scm')
-rw-r--r--gnu/packages/wm.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 52d7042806..23e2e97215 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -948,9 +948,9 @@ experience.")
                     (lua-lgi (assoc-ref inputs "lua-lgi") ))
                (setenv "LD_LIBRARY_PATH" cairo )
                (setenv "LUA_PATH" (string-append lua-lgi
-                                                 "/share/lua/5.2/?.lua"))
+                                                 "/share/lua/5.3/?.lua"))
                (setenv "LUA_CPATH" (string-append lua-lgi
-                                                  "/lib/lua/5.2/?.so"))
+                                                  "/lib/lua/5.3/?.so"))
                #t)))
          (replace 'check
            (lambda _
@@ -974,9 +974,9 @@ experience.")
                  `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
                  `("LD_LIBRARY_PATH" suffix (, cairo))
                  `("LUA_PATH" suffix (,(string-append lua-lgi
-                                                      "/share/lua/5.2/?.lua")))
+                                                      "/share/lua/5.3/?.lua")))
                  `("LUA_CPATH" suffix (,(string-append
-                                          lua-lgi "/lib/lua/5.2/?.so"))))))))))
+                                          lua-lgi "/lib/lua/5.3/?.so"))))))))))
     (synopsis "Highly configurable window manager")
     (description
      "Awesome has been designed as a framework window manager.  It is fast, small,