emacs-twist / twist.nix

Build an entire Emacs configuration as a Nix package in a pure, reproducible way
GNU General Public License v3.0
66 stars 6 forks source link

Rewrite to minimize use of Nipkgs overlays #72

Closed akirak closed 7 months ago

akirak commented 1 year ago

See https://zimbatm.com/notes/1000-instances-of-nixpkgs.

The current implementation heavily use overlays, but actually it is better to avoid it unless there is a good reason for it. The primary API is currently provided as an overlay, it will probably better to provide a function that takes pkgs as an argument, and the function should be provided under lib in the flake.

akirak commented 7 months ago

Closing this issue as I am fine with using the overlay and don't find a much benefit on rewriting it. If someone finds this issue important, please reopen this issue.