Created
September 22, 2018 15:50
-
-
Save adisbladis/4b02c703a1c8d067f17349ac006e879d to your computer and use it in GitHub Desktop.
An example of how to set up a custom emacs with packages from nixpkgs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let | |
# An example of how to get xwidgets rather than gtk | |
# overridenEmacs = emacs26.override { withXwidgets = true; }; | |
overridenEmacs = emacs26; | |
emacsPkgs = pkgs.emacsPackagesNgGen overridenEmacs; | |
emacsWithPackages = emacsPkgs.emacsWithPackages; | |
in emacsWithPackages(epkgs: with epkgs; [ | |
buttercup | |
]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment