diff --git a/nixos/tests/openresty-lua.nix b/nixos/tests/openresty-lua.nix index 9e987398f51d..e3629e9ca40a 100644 --- a/nixos/tests/openresty-lua.nix +++ b/nixos/tests/openresty-lua.nix @@ -1,12 +1,11 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: let - lualibs = [ + luaLibs = [ pkgs.lua.pkgs.markdown ]; - getPath = lib: type: "${lib}/share/lua/${pkgs.lua.luaversion}/?.${type}"; - getLuaPath = lib: getPath lib "lua"; - luaPath = lib.concatStringsSep ";" (map getLuaPath lualibs); + getLuaPath = lib: "${lib}/share/lua/${pkgs.lua.luaversion}/?.lua"; + luaPath = lib.concatStringsSep ";" (map getLuaPath luaLibs); in { name = "openresty-lua";