Skip to content

SILE 0.15.5 can find third-party modules (e.g. resilient.book) on Linux but not on Mac. #2117

Answered by alerque
no-vici asked this question in Q&A
Discussion options

You must be logged in to vote

This is the output of your script in my untampered shell, LUA_PATH should be nothing, but my ~/.luarock still in there.

No it isn't. The first test shows it is blank before the next eval line goes on to set it. You're good there.

I see the problem now. I don't know about the root cause, but clearly out os.getenv() is not working at all in the Rust binary built on macOS. It is working in plain LuaJIT, which is interesting. Orthagonal to that issue the Homebrew method of bundling the LuaRocks dependencies is going to totally screw people up. It is not using our upstream method of vendoring LuaRocks dependencies, it is pretending to supply them from the system. But it isn't actually supply…

Replies: 1 comment 25 replies

Comment options

You must be logged in to vote
25 replies
@alerque
Comment options

@alerque
Comment options

@no-vici
Comment options

@alerque
Comment options

Answer selected by alerque
@alerque
Comment options

@no-vici
Comment options

@alerque
Comment options

@no-vici
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants