summary refs log tree commit diff
path: root/pkgs/applications/editors/nano
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 11:55:54 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-07-28 11:55:54 +0000
commit66097104090e06c43a784193809bc8843a2ec052 (patch)
tree021d726cde3c2dec5d4341340b37589feef3b15c /pkgs/applications/editors/nano
parentb4a3f99c7812a6c8bc34979200693b7010afffcc (diff)
downloadnixlib-66097104090e06c43a784193809bc8843a2ec052.tar
nixlib-66097104090e06c43a784193809bc8843a2ec052.tar.gz
nixlib-66097104090e06c43a784193809bc8843a2ec052.tar.bz2
nixlib-66097104090e06c43a784193809bc8843a2ec052.tar.lz
nixlib-66097104090e06c43a784193809bc8843a2ec052.tar.xz
nixlib-66097104090e06c43a784193809bc8843a2ec052.tar.zst
nixlib-66097104090e06c43a784193809bc8843a2ec052.zip
* 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
Diffstat (limited to 'pkgs/applications/editors/nano')
-rw-r--r--pkgs/applications/editors/nano/default.nix12
1 files changed, 7 insertions, 5 deletions
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/;