Skip to content

config/lua: do not nuke package.path - #15622

Merged
vaxerski merged 1 commit into
hyprwm:mainfrom
vaxerski:fix-lua-paths
Jul 27, 2026
Merged

config/lua: do not nuke package.path#15622
vaxerski merged 1 commit into
hyprwm:mainfrom
vaxerski:fix-lua-paths

Conversation

@vaxerski

Copy link
Copy Markdown
Member

Don't nuke path, let it be.

cpath isnt modified by us I think, so idk if naything's to be done there

@alerque alerque left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per my comment here having applied this as a patch and rebuilt the Arch Linux stable package with this as a backport, the package.path in Lua is now what I would expect.

$ lua -e "print(package.path)"
/usr/local/share/lua/5.5/?.lua;/usr/local/share/lua/5.5/?/init.lua;/usr/share/lua/5.5/?.lua;/usr/share/lua/5.5/?/init.lua;/usr/local/lib/lua/5.5/?.lua;/usr/local/lib/lua/5.5/?/init.lua;/usr/lib/lua/5.5/?.lua;/usr/lib/lua/5.5/?/init.lua;./?.lua;./?/init.lua
$ hyprctl repl 'print(package.path)'
/home/caleb/.config/hypr/?.lua;/home/caleb/.config/hypr/?/init.lua;/usr/local/share/lua/5.5/?.lua;/usr/local/share/lua/5.5/?/init.lua;/usr/share/lua/5.5/?.lua;/usr/share/lua/5.5/?/init.lua;/usr/local/lib/lua/5.5/?.lua;/usr/local/lib/lua/5.5/?/init.lua;/usr/lib/lua/5.5/?.lua;/usr/lib/lua/5.5/?/init.lua;./?.lua;./?/init.lua

@vaxerski

Copy link
Copy Markdown
Member Author

tnx

@vaxerski
vaxerski merged commit 65e81c1 into hyprwm:main Jul 27, 2026
12 checks passed
ksc98 pushed a commit to ksc98/Hyprland that referenced this pull request Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants