Skip to content

Instantly share code, notes, and snippets.

@lokedhs
Last active December 28, 2017 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lokedhs/a72b52b576afdb9072832f6c07e48d09 to your computer and use it in GitHub Desktop.
Save lokedhs/a72b52b576afdb9072832f6c07e48d09 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "emacs-latest";
version = "git-2017-12-28";
src = fetchgit {
url = "https://git.savannah.gnu.org/git/emacs.git";
rev = "b19df8ae78cdebe76512a70f76ec68677de41c11";
};
nativeBuildInputs = [ pkgconfig autoconf automake texinfo ];
buildInputs = [ ncurses gnutls gettext imagemagick gtk3 xlibsWrapper libpng libjpeg libtiff librsvg libungif libXpm ];
preConfigure = "./autogen.sh";
configureFlags = [ "--with-modules" ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment