Skip to content

stfl/emacs-lsp-booster-flake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A flake for emacs-lsp-booster

A nix flake for installing emacs-lsp-booster.

Installation

Add the input to your flake inputs, and enable the overlay:

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/«version»";
    emacs-lsp-booster.url = "github:blahgeek/emacs-lsp-booster";
    # The emacs-lsp-booster flake itself depends on `nixpkgs` and
    # `flake-utils`; you might want to make both of these inputs
    # follow the ones in your configuration.
    #
    # emacs-lsp-booster.inputs.nixpkgs.follows = "nixpkgs";
    # emacs-lsp-booster.inputs.flake-utils.follows = "flake-utils";
  };
  outputs = { emacs-lsp-booster, ...}:
    let my-overlays = {
          nixpkgs.overlays = [
            «other-overlays»
            emacs-lsp-booster.overlays.default
          ];
        };
    in {
      nixosConfigurations.«hostname» = nixpkgs.lib.nixosSystem rec {
        system = «system»;
        modules = [
          «other-modules»
          my-overlays
        ];
      };
    };
}

You can then access the package as nixpkgs.emacs-lsp-booster, e.g., by putting something like

environment.systemPackages = [ pkgs.emacs-lsp-booster ];

into your configuration.nix.

Important: You will still have to configure Emacs to use emacs-lsp-booster for deserialisation, see here.

TODOs

Any help/additional input is appreciated!

  • Should we add an option to automatically insert the necessary lsp-mode configuration into the user's Emacs file?

    • As a corollary: if we decide to do the above, we should also include eglot support.

About

A flake for emacs-lsp-booster

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Nix 100.0%