Skip to content

slotThe/emacs-lsp-booster-flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

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:slotThe/emacs-lsp-booster-flake";
    # The emacs-lsp-booster flake itself depends on `nixpkgs`; you
    # might want to make this input follow the one in your
    # configuration.
    #
    # emacs-lsp-booster.inputs.nixpkgs.follows = "nixpkgs";
  };
  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

No packages published

Contributors 3

  •  
  •  
  •  

Languages