You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that the recommended way to override packages is through the following method:
overrides=self: super: rec{haskell-mode=self.melpaPackages.haskell-mode;
...
};((emacsPackagesNgGenemacs).overrideScope'overrides).emacsWithPackages(p: withp;[# here both these package will use haskell-mode of our own choiceghc-moddante])
However it seems to be no way to hook into that part via home-manager.
It is possible to set emacs and the last of packages through package and extraPackages. Perhaps introduce a configuration option called overrides?
If it is defined it would wrap the command with overrideScope'.
Is this understanding correct?
The text was updated successfully, but these errors were encountered:
Yeah, you made a good point! The current design didn't allow such overrides. I added an programs.emacs.overrides option in the referenced PR. Can be used like so:
Reading through the documentation at:
https://nixos.org/nixpkgs/manual/#sec-emacs-config
I see that the recommended way to override packages is through the following method:
However it seems to be no way to hook into that part via home-manager.
It is possible to set emacs and the last of packages through
package
andextraPackages
. Perhaps introduce a configuration option called overrides?If it is defined it would wrap the command with
overrideScope'
.Is this understanding correct?
The text was updated successfully, but these errors were encountered: