fix: rm evil-collection from overrides

This change was added to allow evil-collection to compile on latest
versions macOS Ventura, the evil-collection version at the time of this
change was halting on the compilation of the
`evil-collection-speedbar.el` file.

Unfortunately, with this approach, although it finishes the nix-doom
emacs compilation, leaves doom-emacs' runtime in a faulty state. The
emacs package relies on a sub-directory `modes` that doesn't get
compiled when specifying this dependency in the overrides list.

As a way to make it work as expected on macOS Ventura, users should
override the `emacsPackagesOverlay` option and specify the
`evil-collection` variable. Following an example

```
{ pkgs, ... }:
{
  programs.doom-emacs = {
    enable = true;
    emacsPackagesOverlay = _final: _prev: {
        inherit (pkgs.emacsPackages) evil-collection;
    };
  };
}
```
This commit is contained in:
Roman Gonzalez
2023-07-05 12:32:39 -07:00
parent 2c4ba0d77f
commit 68c1175d46
3 changed files with 0 additions and 23 deletions

View File

@@ -32,10 +32,6 @@ self: super: {
pname = "evil-quick-diff";
};
evil-collection = self.straightBuild {
pname = "evil-collection";
};
magit = super.magit.overrideAttrs (esuper: {
preBuild = ''
make VERSION="${esuper.version}" -C lisp magit-version.el