Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian build: /home/runner directories leaked into the lua package.path and package.cpath #22273

Open
randomizedthinking opened this issue Feb 15, 2023 · 0 comments
Labels
bug issues reporting wrong behavior build building and installing Neovim using the provided scripts lua stdlib

Comments

@randomizedthinking
Copy link

Describe the bug

Under the Debian build, some directories from /home/runner are leaked into the lua package.path and package.cpath. These directories are on the build machine, and should not leaked into the final build.

This is not a sever bug, but would be nice to be fixed in the make script.

By the way, both package.path and package.cpath use the current directory as the first search location. IMHO, it is okay for command-line lua/luajit, but should be removed from the luajit embedded in nvim.

Steps to reproduce

nvim --clean
:lua print(package.path)
:lua print(package.cpath)
:q

Expected behavior

Directories from the build machine are not included in the lua search path.

Also, the current directory should be removed from the search path as well.

Neovim version (nvim -v)

0.8.2

Vim (not Nvim) behaves the same?

not tested.

Operating system/version

Debian 11

Terminal name/version

urxvt

$TERM environment variable

tmux-256color

Installation

Both build from repo, and install the neovim Debian build.

@randomizedthinking randomizedthinking added the bug issues reporting wrong behavior label Feb 15, 2023
@zeertzjq zeertzjq added build building and installing Neovim using the provided scripts lua stdlib labels Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues reporting wrong behavior build building and installing Neovim using the provided scripts lua stdlib
Projects
None yet
Development

No branches or pull requests

2 participants