Skip to content

Commit f13bdef

Browse files
committed
plugins/lsp/astro: fix package attribute path
1 parent 988906f commit f13bdef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

plugins/lsp/language-servers/default.nix

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ let
2828
{
2929
name = "astro";
3030
description = "astrols for Astro";
31-
package = pkgs.nodePackages."@astrojs/language-server";
31+
package =
32+
pkgs.astro-language-server
33+
# TODO remove the following line when https://github.com/NixOS/nixpkgs/pull/333736 reaches nixos-unstable
34+
or pkgs.nodePackages."@astrojs/language-server";
3235
cmd = cfg: [
3336
"${cfg.package}/bin/astro-ls"
3437
"--stdio"

0 commit comments

Comments
 (0)