awesome: fix luaModules using pkgs.lua instead of awesome.lua (#3258)
Mirroring my change to awesome module in nixos:
b79f9e9b8a
This commit is contained in:
parent
722e8d65d3
commit
8957d53199
|
@ -6,7 +6,7 @@ let
|
||||||
|
|
||||||
cfg = config.xsession.windowManager.awesome;
|
cfg = config.xsession.windowManager.awesome;
|
||||||
awesome = cfg.package;
|
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:
|
makeSearchPath = lib.concatMapStrings (path:
|
||||||
" --search ${getLuaPath path "share"}"
|
" --search ${getLuaPath path "share"}"
|
||||||
+ " --search ${getLuaPath path "lib"}");
|
+ " --search ${getLuaPath path "lib"}");
|
||||||
|
|
Loading…
Reference in a new issue