swyddfa / esbonio

A language server for working with Sphinx projects.
https://docs.esbon.io/
131 stars 21 forks source link

`nix run` fails #570

Closed alcarney closed 1 year ago

alcarney commented 1 year ago

Not sure why I didn't encounter this when working on it originally

$ nix run github:swyddfa/esbonio?ref=develop
error: cannot fetch input 'path:lib/esbonio?lastModified=1&narHash=sha256-QgSDxOPSrtsaqjeStalef07+bUE3qkzz7pJC4y43ltw=' because it uses a relative path
(use '--show-trace' to show detailed location information)

I wonder what best practice is when is comes to monorepos... a flake per sub-project or one flake to rule them all? :thinking:

alcarney commented 1 year ago

This should now be fixed on the beta branch. Assuming you have Nix available it should now be possible to try the example neovim configuration (complete with sync-scrolling!) with the following command

$ nix run github:swyddfa/esbonio/beta#nvim-lspconfig

In theory at least! :crossed_fingers: