Created
February 18, 2020 02:45
-
-
Save grahamc/cef69ef0869fed90b727e79c12909162 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
{ pkgs ? import <nixpkgs> {}, super ? pkgs }: | |
pkgs.enableDebugging (super.emacs26.overrideAttrs ( | |
{ buildInputs, configureFlags ? [], postPatch ? "", nativeBuildInputs ? [], ... }: | |
{ | |
src = ./emacs; | |
/* | |
src = builtins.fetchGit { | |
url = "https://github.com/masm11/emacs"; | |
ref = "pgtk"; | |
}; | |
*/ | |
/* | |
src = pkgs.fetchFromGitHub { | |
owner = "masm11"; | |
repo = "emacs"; | |
rev = "5313395fd45d872913f0de96edf57ce7a23153bd"; | |
sha256 = "11p0i1xsn2nxg3p2rnpvjbs66yswv32d4s1kkmj6pqgcgski0irj"; | |
}*/ | |
patches = []; | |
buildInputs = buildInputs ++ [ pkgs.wayland pkgs.wayland-protocols]; | |
nativeBuildInputs = nativeBuildInputs ++ [ pkgs.autoreconfHook pkgs.texinfo ]; | |
configureFlags = configureFlags ++ [ "--without-x" "--with-cairo" "--with-modules" ]; | |
/* | |
postPatch = '' | |
${postPatch} | |
substituteInPlace Makefile.in --replace /usr/bin/glib-compile-schemas glib-compile-schemas | |
''; | |
*/ | |
} | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment