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 final; [ hunspellWithDicts sqlite gcc ghostscript imagemagick (texlive.combine { inherit (texlive) dvisvgm scheme-small preview siunitx amsmath ulem dvipng wrapfig cancel capt-of bytefield chemfig simplekv; }) # gensymb is not here, dont add texlab (rWrapper.override { packages = []; }) gnumake clang-tools rnix-lsp ghc cabal-install haskell-language-server (symlinkJoin { name = "hledger-compat"; paths = [ hledger ]; postBuild = "ln -s $(readlink -f $out/bin/hledger) $out/bin/ledger"; }) ]; }; }; }