while running luarocks --verbose test on argparse (see luarocks/argparse#14), I see this error.
++ luarocks --verbose test
fs.current_dir()
fs.current_dir()
tree nil <<<-- these 2 lines are print() I've added to luarocks
cfg.root_dir nil
/nix/store/dmsnsn318cpbzdx3c2cbp0bslhq5gfd8-lua-5.2.4/bin/lua: ...uarocks-local-3.3.1/share/lua/5.2/luarocks/core/path.lua:19: nil
stack traceback:
[C]: in function 'assert'
...uarocks-local-3.3.1/share/lua/5.2/luarocks/core/path.lua:19: in function 'rocks_dir'
...8ci-luarocks-local-3.3.1/share/lua/5.2/luarocks/path.lua:218: in function 'use_tree'
...l8ci-luarocks-local-3.3.1/share/lua/5.2/luarocks/cmd.lua:110: in function 'process_tree_args'
...l8ci-luarocks-local-3.3.1/share/lua/5.2/luarocks/cmd.lua:584: in function 'run_command'
...3zvlfsmakl8ci-luarocks-local-3.3.1/bin/.luarocks-wrapped:38: in main chunk
[C]: in ?
+ exitHandler
+ exitCode=1
+ set +e
luarocks is called with LUAROCKS_CONFIG pointing towards this exact file (space included)
local_cache = ""
-- To prevent collisions when creating environments, we install the rock
-- files into per-package subdirectories
rocks_subdir = 'argparse-0.7.0-1-rocks'
-- Then we need to tell luarocks where to find the rock files per
-- dependency
rocks_trees = {
}
-- For single-output external dependencies
external_deps_dirs = {
'/nix/store/dmsnsn318cpbzdx3c2cbp0bslhq5gfd8-lua-5.2.4'
}
variables = {
-- Some needed machinery to handle multiple-output external dependencies,
-- as per https://github.com/luarocks/luarocks/issues/766
}
I ma not sure why cfg.root_dir is empty. It's hard to track where it was last set since it's a global. If you can give me hints, I may be able to prepare a PR.
while running
luarocks --verbose teston argparse (see luarocks/argparse#14), I see this error.luarocks is called with LUAROCKS_CONFIG pointing towards this exact file (space included)
I ma not sure why
cfg.root_diris empty. It's hard to track where it was last set since it's a global. If you can give me hints, I may be able to prepare a PR.