Skip to content

Commit

Permalink
nixos/awesome: fix luaModules using pkgs.lua instead of awesome.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
necauqua authored and teto committed Aug 29, 2022
1 parent e9a25f0 commit b79f9e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/x11/window-managers/awesome.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b79f9e9

Please sign in to comment.