mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
* Emacs: use ncurses so that we don't need /etc/termcap in terminal
mode. svn path=/nixpkgs/trunk/; revision=7287
This commit is contained in:
parent
7ce9e38ad9
commit
42558043b3
@ -1,7 +1,7 @@
|
||||
{ xawSupport ? true
|
||||
, xpmSupport ? true
|
||||
, xaw3dSupport ? false
|
||||
, stdenv, fetchurl, x11, libXaw ? null, libXpm ? null, Xaw3d ? null
|
||||
, stdenv, fetchurl, ncurses, x11, libXaw ? null, libXpm ? null, Xaw3d ? null
|
||||
}:
|
||||
|
||||
assert xawSupport && !xaw3dSupport -> libXaw != null;
|
||||
@ -17,7 +17,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
patches = [./crt.patch];
|
||||
buildInputs = [
|
||||
x11
|
||||
ncurses x11
|
||||
(if xawSupport then if xaw3dSupport then Xaw3d else libXaw else null)
|
||||
(if xpmSupport then libXpm else null)
|
||||
];
|
||||
|
@ -2376,7 +2376,7 @@ rec {
|
||||
eclipse [spoofax];
|
||||
|
||||
emacs = import ../applications/editors/emacs {
|
||||
inherit fetchurl stdenv x11 Xaw3d;
|
||||
inherit fetchurl stdenv ncurses x11 Xaw3d;
|
||||
inherit (xlibs) libXaw libXpm;
|
||||
xaw3dSupport = true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user