Skip to content

Instantly share code, notes, and snippets.

@andreoss
Created October 31, 2020 23:20
Show Gist options
  • Save andreoss/5dd8d04f67f1225d0b10586b46a02e9b to your computer and use it in GitHub Desktop.
Save andreoss/5dd8d04f67f1225d0b10586b46a02e9b to your computer and use it in GitHub Desktop.
Lucid Emacs
{ pkgs ? import <nixpkgs> {} }:
let
emacs_ = (pkgs.unstable.emacs.override {
withGTK3 = false;
withGTK2 = false;
}).overrideAttrs (attrs: {
configureFlags = [
"--disable-build-details"
"--with-modules"
"--without-toolkit-scroll-bars"
"--with-x-toolkit=no"
"--with-xft"
"--with-cairo"
"--with-nativecomp"
];
});
emacsWithPackages = (pkgs.emacsPackagesGen emacs_).emacsWithPackages;
in
emacsWithPackages (epkgs: (with epkgs.melpaStablePackages; [
evil
magit
evil-magit
]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment