From 66097104090e06c43a784193809bc8843a2ec052 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 28 Jul 2010 11:55:54 +0000 Subject: * Get rid of many instances of "args: with args;", and other coding guidelines violations. * Updated libsamplerate to 0.1.7. svn path=/nixpkgs/trunk/; revision=22782 --- pkgs/applications/editors/nano/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'pkgs/applications/editors/nano') diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix index 62d5347d0ea7..974ced7d2b18 100644 --- a/pkgs/applications/editors/nano/default.nix +++ b/pkgs/applications/editors/nano/default.nix @@ -1,4 +1,5 @@ -args: with args; +{ stdenv, fetchurl, ncurses, gettext }: + stdenv.mkDerivation (rec { pname = "nano"; version = "2.2.3"; @@ -9,9 +10,10 @@ stdenv.mkDerivation (rec { url = "mirror://gnu/nano/${name}.tar.gz"; sha256 = "1vpl993xrpj8bqi1ayga8fc0j2jag90xp6rqakzwm3bxw71hmwi2"; }; - buildInputs = [ncurses gettext]; -# configureFlags = "--enable-tiny"; - configureFlags = " + + buildInputs = [ ncurses gettext ]; + + configureFlags = '' --disable-browser --disable-help --disable-justify @@ -20,7 +22,7 @@ stdenv.mkDerivation (rec { --disable-speller --disable-tabcomp --disable-wrapping - "; + ''; meta = { homepage = http://www.nano-editor.org/; -- cgit 1.4.1