statically linked nano. For some reason I had to use the --enable-tiny configure flag, so the full blown normal glibc dynamically linked version is a bit less functional now, but it is only intended to be used in rescue mode anyway, since normal people use vi.

svn path=/nixpkgs/trunk/; revision=6318
This commit is contained in:
Armijn Hemel 2006-08-29 23:40:29 +00:00
parent b76219e55b
commit 26f6d80db4
2 changed files with 7 additions and 0 deletions

View file

@ -7,6 +7,7 @@ stdenv.mkDerivation {
md5 = "f2b3efbf1cf356d736740d531b6b22c4"; md5 = "f2b3efbf1cf356d736740d531b6b22c4";
}; };
buildInputs = [ncurses]; buildInputs = [ncurses];
configureFlags = "--enable-tiny";
} }

View file

@ -2556,6 +2556,12 @@ rec {
inherit fetchurl stdenv ncurses; inherit fetchurl stdenv ncurses;
}; };
nanoDiet = (import ../applications/editors/nano) {
inherit fetchurl;
ncurses = ncursesDiet;
stdenv = overrideGCC stdenv dietgcc;
};
vim = (import ../applications/editors/vim) { vim = (import ../applications/editors/vim) {
inherit fetchurl stdenv ncurses; inherit fetchurl stdenv ncurses;
}; };