Skip to content

Instantly share code, notes, and snippets.

@endofunky
Created June 4, 2019 12:50
Show Gist options
  • Save endofunky/bb8df71e3c7112265ada3ca803e20d31 to your computer and use it in GitHub Desktop.
Save endofunky/bb8df71e3c7112265ada3ca803e20d31 to your computer and use it in GitHub Desktop.
Emacs master on Nix
with import <nixpkgs> {};
stdenv.lib.overrideDerivation (pkgs.emacs.override {
srcRepo = true;
withGTK2 = false;
withGTK3 = false;
withCsrc = true;
withX = true;
withNS = false;
siteStart = ./site-start.el;
}) (attrs: rec {
name = "emacs-${version}${versionModifier}";
version = "27.0";
versionModifier = ".50";
doCheck = false;
patches = null;
configureFlags = [
"--disable-build-details"
"--with-modules"
"--with-x-toolkit=no"
"--with-xft"
"--with-imagemagick"
];
src = fetchgit {
url = https://git.savannah.gnu.org/git/emacs.git;
rev = "7aaf500701be3b51c686b7d86c9b505ef5fa9b8f";
sha256 = "03l7ffibsxbiyn0xdmc6888ichb2mkrdrl5migrzp478gxy6614w";
# date = 2019-02-20T07:33:53-08:00;
};
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment