switch to nil for Nix LSP

This commit is contained in:
Max Headroom 2022-08-06 20:33:56 +02:00
parent 2d362c3c73
commit defe57957a
2 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ let
};
};
};
languages = import ./languages.nix pkgs;
languages = import ./languages.nix { inherit pkgs inputs; };
theme = import ./theme.nix;
};

View file

@ -1,4 +1,4 @@
pkgs: {
{ pkgs, inputs }: {
language = with pkgs; [
{
language-server = {command = "${rust-analyzer}/bin/rust-analyer";};
@ -21,7 +21,7 @@ pkgs: {
name = "python";
}
{
language-server = {command = "${rnix-lsp}/bin/rnix-lsp";};
language-server = {command = "${inputs.nil.packages.${pkgs.system}.nil}/bin/nil";};
name = "nix";
}
{