mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 06:59:45 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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