flake: update nixpkgs; use new bash-language-server pkg

This commit is contained in:
NotAShelf 2024-06-21 02:18:54 +03:00
parent a86c59457c
commit 95615ec308
No known key found for this signature in database
GPG key ID: AF26552424E53993
2 changed files with 5 additions and 5 deletions

View file

@ -114,11 +114,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1717839683, "lastModified": 1718910271,
"narHash": "sha256-kC0eyEsfpXbtQ2Ee5kgjmLFSVsLgnqpj10LjEi+fK+g=", "narHash": "sha256-vft9UIECxL4FtfX5UsTEE2XvvH9z9/BeP8pACAYEbwY=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3f3a01219b4a1b6ee63039a3aa63948fbf37c0dd", "rev": "19cd1c918369d89128bcb6a6da87137bdf42e997",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -18,7 +18,7 @@
defaultServer = "bash-ls"; defaultServer = "bash-ls";
servers = { servers = {
bash-ls = { bash-ls = {
package = pkgs.nodePackages.bash-language-server; package = pkgs.bash-language-server;
lspConfig = '' lspConfig = ''
lspconfig.bashls.setup{ lspconfig.bashls.setup{
capabilities = capabilities; capabilities = capabilities;
@ -85,7 +85,7 @@ in {
description = "bash-language-server package, or the command to run as a list of strings"; description = "bash-language-server package, or the command to run as a list of strings";
example = literalExpression ''[lib.getExe pkgs.nodePackages.bash-language-server "start"]''; example = literalExpression ''[lib.getExe pkgs.nodePackages.bash-language-server "start"]'';
type = either package (listOf str); type = either package (listOf str);
default = pkgs.nodePackages.bash-language-server; default = pkgs.bash-language-server;
}; };
}; };