El 2026-01-19 00:30, Ashvith Shetty escribió:
Hi,On Sun, 2026-01-18 at 12:55 +0000, Ashish SHUKLA wrote:% guix shell --pure -L guix lua-evolved [email protected] --search-paths export PATH="/gnu/store/6nwggy1vd3368hpin7qgl2zs2imi8501-profile/bin"export LUA_PATH="/gnu/store/6nwggy1vd3368hpin7qgl2zs2imi8501-profile/share/lua/5.3/evolved.lua"I have also noticed that there is a standard variable and a `GUIX`- prefixed variable? Like for example, `PYTHONPATH` versus `GUIX_PYTHONPATH`. In this context, GUIX_LUA_PATH - is it okay in this case? And why/why not?
(See [example](https://git.sr.ht/~unwox/guix-pkgs/tree/master/item/unwox.scm#L400 ))
Well, as you can see implementing support for `GUIX_*' requires support in the particular software, and I didn't see that one in guix repository, but yes, ideally I would prefer `GUIX_' prefixed variable, if such is implemented.
Other alternative, if we're not to do this search-path dance, thenother alternative would be manually exporting `LUA_PATH' in `guix shell':Is there any particular case when I must avoid using `native-search- paths`?
Well, other lua packages (in Guix repository) don't seem to implement any kind of search-path, so the path of least change would be to just follow their footsteps, and just manually build `LUA_PATH' based off `$GUIX_ENVIRONMENT' as mentioned in previous reply.
HTH
--
Ashish SHUKLA | GPG: F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0
| GPG: 01DE 145E 35D8 C87E 956E FEC9 D4C4 4BDA 2C98 C654
"If I destroy you, what business is it of yours ?" (Dark Forest, Liu Cixin)
signature.asc
Description: PGP signature
