Nix flake that provides angular-language-server
not found in nixpkgs.
nix profile install github:csvenke/angular-language-server-flake
angular-language-server --stdio
nix run github:csvenke/angular-language-server-flake -- --stdio
nix develop github:csvenke/angular-language-server-flake
angular-language-server --stdio
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
angular-language-server.url = "github:csvenke/angular-language-server-flake";
};
outputs = inputs@{ flake-parts, nixpkgs, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = nixpkgs.lib.systems.flakeExposed;
perSystem = { system, ... }:
let
pkgs = import nixpkgs {
inherit system;
overlays = [
inputs.angular-language-server.overlays.default
];
};
shell = pkgs.mkShell {
packages = [
pkgs.angular-language-server
];
};
in
{
devShells.default = shell;
};
};
}