Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
emacs-packages: Clean up redundant packages & allow overriding attrsets #65874
Motivation for this change
I'm creating an auto updating emacs overlay based on https://github.com/adisbladis/exwm-overlay which will contain all our auto-generated emacs package sets and need the ability to override the loading of these.
With these changes I can generate a new
And then use it to create a new emacsPackagesNg set:
or for a more complete example see the
Also the updater script can now be called from anywhere and the output JSON will be in current working directory.
While i do think this method is a bit crude it was by far the easiest way I could come up with to achieve what I wanted.
I also started cleaning up a bit of redundant packages that come autogenerated from melpa that we don't need explicit derivations for.
edit: The scope of this PR grew a bit as I went along and cleaned up redundant packages. If need be I can split it into 2 PRs.
If you'd like to join in on this effort or if you're just interested in the emacs packaging in nixpkgs I've created