From 8c4c47cd5ba49d3b571d00669a24b71b264ce45a Mon Sep 17 00:00:00 2001 From: Anton Bulakh Date: Fri, 23 Sep 2022 21:50:58 +0300 Subject: [PATCH] awesome: fix luaModules path using wrong lua Mirroring my change to awesome module in nixos: https://github.com/NixOS/nixpkgs/commit/b79f9e9b8a822ac64710d67d26b558f9aba6d47b --- modules/services/window-managers/awesome.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/window-managers/awesome.nix b/modules/services/window-managers/awesome.nix index a012a03c6783..d79e72fe514a 100644 --- a/modules/services/window-managers/awesome.nix +++ b/modules/services/window-managers/awesome.nix @@ -6,7 +6,7 @@ let cfg = config.xsession.windowManager.awesome; awesome = cfg.package; - getLuaPath = lib: dir: "${lib}/${dir}/lua/${pkgs.luaPackages.lua.luaversion}"; + getLuaPath = lib: dir: "${lib}/${dir}/lua/${awesome.lua.luaversion}"; makeSearchPath = lib.concatMapStrings (path: " --search ${getLuaPath path "share"}" + " --search ${getLuaPath path "lib"}");