plugins/lsp/astro: remove unnecessary alternative package path

https://github.com/NixOS/nixpkgs/pull/333736
This commit is contained in:
Gaetan Lepage 2024-08-13 10:09:39 +02:00 committed by Austin Horstman
parent d3cb90aa6e
commit b406575176
No known key found for this signature in database

View file

@ -28,10 +28,7 @@ let
{
name = "astro";
description = "astrols for Astro";
package =
pkgs.astro-language-server
# TODO remove the following line when https://github.com/NixOS/nixpkgs/pull/333736 reaches nixos-unstable
or pkgs.nodePackages."@astrojs/language-server";
package = pkgs.astro-language-server;
cmd = cfg: [
"${cfg.package}/bin/astro-ls"
"--stdio"