Skip to content

Commit

Permalink
build(nix): unset LUAROCKS_CONFIG in test derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Feb 16, 2024
1 parent 0b350cb commit f730f11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nix/plugin-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ in {
package.cpath = package.cpath .. ";" .. table.concat(luarocks_cpath, ";")
vim.opt.runtimepath:append(vim.fs.joinpath("${rocks}", "rocks.nvim-scm-1-rocks", "rocks.nvim", "*"))
--- FIXME: nix somehow propagates the LUAROCKS_CONFIG used to build rocks.nvim to neovim
--- See https://github.com/nvim-neorocks/rocks.nvim/issues/148
vim.fn.setenv("LUAROCKS_CONFIG", "")
'';
wrapRc = true;
wrapperArgs =
Expand Down

0 comments on commit f730f11

Please sign in to comment.