It gives the following error when installing:
Error: No results matching query were found for Lua 5.1.
To check if it is available for other Lua versions, use --check-lua-versions
lua -v: Lua 5.4.8 Copyright (C) 1994-2025 Lua.org, PUC-Rio
luarocks --version: /usr/bin/luarocks 3.12.2
Minimal init.lua to reproduce this issue (save as repro.lua and run with nvim -u repro.lua):
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()
require("lazy.minit").repro({
spec = {
{ "cosmicboots/system-theme.nvim" }
},
})
It gives the following error when installing:
lua -v:Lua 5.4.8 Copyright (C) 1994-2025 Lua.org, PUC-Rioluarocks --version:/usr/bin/luarocks 3.12.2Minimal
init.luato reproduce this issue (save asrepro.luaand run withnvim -u repro.lua):