bug#25425: cannot express search path

2021-03-24 Thread zimoun
Hi, This is an old bug about Lua and search path. It is still unsolved: --8<---cut here---start->8--- $ guix environment -C --ad-hoc lua lua-lpeg -- lua Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio >

bug#25425: cannot express search path

2017-01-22 Thread Ricardo Wurmus
Ludovic Courtès writes: > Hello! > > Ricardo Wurmus skribis: > >> Ludovic Courtès writes: >> >>> I think this should work: >>> >>>(search-path-specification >>> (variable "LUA_PATH") >>> (separator ";") >>>

bug#25425: cannot express search path

2017-01-22 Thread Ludovic Courtès
Hello! Ricardo Wurmus skribis: > Ludovic Courtès writes: > >> I think this should work: >> >>(search-path-specification >> (variable "LUA_PATH") >> (separator ";") >> (files '("share/lua/5.3")) >> (file-pattern

bug#25425: cannot express search path

2017-01-12 Thread Ricardo Wurmus
Ludovic Courtès writes: > I think this should work: > >(search-path-specification > (variable "LUA_PATH") > (separator ";") > (files '("share/lua/5.3")) > (file-pattern "\\.lua$") > (file-type 'regular)) I tried this very same

bug#25425: cannot express search path

2017-01-12 Thread Ludovic Courtès
Ricardo Wurmus skribis: > It seems that the “search-path-specification” cannot be used to include > placeholders such as “?” as required by LUA_PATH and LUA_CPATH. The > search paths in Lua are not directories and they are not actual file > names. Indeed. > I suggest

bug#25425: cannot express search path

2017-01-12 Thread Ricardo Wurmus
It seems that the “search-path-specification” cannot be used to include placeholders such as “?” as required by LUA_PATH and LUA_CPATH. The search paths in Lua are not directories and they are not actual file names. I suggest adding an optional “placeholder” field to “search-path-specification”,