lspcontainers.nvim icon indicating copy to clipboard operation
lspcontainers.nvim copied to clipboard

Feature: Add new backend: nix

Open PhilTaken opened this issue 2 years ago • 1 comments

This PR introduces a new optional backend to pull the language servers from: nix. Nix does not necessarily fit the containerization theme of this plugin, but provides a very similar user experience to the docker backend. It also cuts down on the (albeit very slim) containerization overhead.

The nix backend provides the same interface as the docker/podman approach in that it can pull/build and delete language servers dynamically to save on disk space.

Since this is quite a big change relatively speaking, I consider this more of a draft for now.

PhilTaken avatar Oct 25 '22 03:10 PhilTaken

nix-provided LSPs can be sandboxed with bubblewrap. I used this briefly and it worked pretty well. I eventually moved from nix to just using my distro's packages, so don't have many references on it.

WhyNotHugo avatar Nov 08 '22 09:11 WhyNotHugo