emacs24: fix build on darwin

This commit is contained in:
Jason "Don" O'Conal 2013-07-03 19:52:22 +10:00
parent e84ba407f9
commit 72a771b6e4
2 changed files with 9 additions and 3 deletions

View File

@ -44,7 +44,7 @@ EOF
doCheck = true;
meta = {
meta = with stdenv.lib; {
description = "GNU Emacs 24, the extensible, customizable text editor";
longDescription = ''
@ -67,7 +67,7 @@ EOF
homepage = "http://www.gnu.org/software/emacs/";
license = "GPLv3+";
maintainers = with stdenv.lib.maintainers; [ ludo simons chaoflow ];
platforms = stdenv.lib.platforms.all;
maintainers = with maintainers; [ chaoflow lovek323 ludo simons ];
platforms = platforms.all;
};
}

View File

@ -7232,6 +7232,12 @@ let
alsaLib = null;
imagemagick = null;
texinfo = texinfo5;
# use gccApple on darwin to deal with: unexec: 'my_edata is not in section
# __data'
stdenv = if stdenv.isDarwin
then stdenvAdapters.overrideGCC stdenv gccApple
else stdenv;
};
emacsPackages = emacs: self: let callPackage = newScope self; in rec {