nixos/awesome: fix luaModules using pkgs.lua instead of awesome.lua
This commit is contained in:
parent
e9a25f0a02
commit
b79f9e9b8a
|
@ -6,7 +6,7 @@ let
|
|||
|
||||
cfg = config.services.xserver.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")
|
||||
|
|
Loading…
Reference in a new issue