Created
August 27, 2018 20:09
-
-
Save matthew-piziak/6ec78c79542bb859b267e7ad3b8fb2ec to your computer and use it in GitHub Desktop.
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
{ config, pkgs, ... }: | |
let | |
emacs26 = (pkgs.emacs.override{withXwidgets = true;}).overrideAttrs (oldAttrs: { | |
version = "26.1RC1"; | |
src = pkgs.fetchurl { | |
url = ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-26.1-rc1.tar.xz; | |
sha256 = "6594e668de00b96e73ad4f168c897fe4bca7c55a4caf19ee20eac54b62a05758"; | |
}; | |
patches = []; | |
} | |
); | |
in | |
{ | |
environment.systemPackages = [ | |
emacs26 | |
]; | |
nixpkgs.config.permittedInsecurePackages = [ | |
"webkitgtk-2.4.11" | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment