dotfiles/nix/overlays/emacs/default.nix
Magic_RB d3e46e5413
Complete module rework
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2021-08-19 18:24:36 +02:00

45 lines
1.1 KiB
Nix

inputs:
final: prev:
let
hunspellWithDicts = prev.callPackage ./hunspell-with-dicts.nix {
dicts = with prev.hunspellDicts; [ en_US ];
};
in
{
magic_rb = prev.magic_rb or {} // {
emacs = prev.callPackage ./emacs-bundle.nix rec {
emacsOverlay = inputs.emacs-overlay.overlay prev prev;
emacsSrc = inputs.emacs;
vtermModule = inputs.vtermModule;
emacsPackages = with prev;
[
nodePackages.pyright
python38Full
rust-analyzer
hunspellWithDicts
w3m
sqlite
gcc
ghostscript
imagemagick
(texlive.combine { inherit (texlive) dvisvgm scheme-small preview siunitx amsmath ulem dvipng wrapfig cancel capt-of bytefield; }) # gensymb is not here, dont add
texlab
(rWrapper.override { packages = []; })
gnumake
] ++ (with prev.nodePackages; [
typescript-language-server
typescript
vscode-html-languageserver-bin
vscode-css-languageserver-bin
]);
};
};
}