emacs26: add some tweaks from jwiegley’s overlay

original src:
f85c560bf8/overlays/10-emacs.nix
This commit is contained in:
Matthew Bauer 2018-05-28 13:33:08 -04:00
parent a87b50bc63
commit aa2160e1b6

View File

@ -40,6 +40,12 @@ stdenv.mkDerivation rec {
./clean-env.patch
];
postPatch = lib.optionalString srcRepo ''
rm -fr .git
'';
CFLAGS = "-DMAC_OS_X_VERSION_MAX_ALLOWED=101200";
nativeBuildInputs = [ pkgconfig ]
++ lib.optionals srcRepo [ autoconf automake texinfo ]
++ lib.optional (withX && (withGTK3 || withXwidgets)) wrapGAppsHook;