diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix index ae81546798aa..5118b7985473 100644 --- a/pkgs/applications/editors/nano/default.nix +++ b/pkgs/applications/editors/nano/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, ncurses}: +{stdenv, fetchurl, ncurses, gettext}: stdenv.mkDerivation { name = "nano-1.2.5"; @@ -6,8 +6,6 @@ stdenv.mkDerivation { url = http://www.nano-editor.org/dist/v1.2/nano-1.2.5.tar.gz; md5 = "f2b3efbf1cf356d736740d531b6b22c4"; }; - buildInputs = [ncurses]; + buildInputs = [ncurses gettext]; configureFlags = "--enable-tiny"; } - - diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7f2ef22f7c03..b0310fd2b50a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2553,11 +2553,11 @@ rec { }; nano = (import ../applications/editors/nano) { - inherit fetchurl stdenv ncurses; + inherit fetchurl stdenv ncurses gettext; }; nanoDiet = (import ../applications/editors/nano) { - inherit fetchurl; + inherit fetchurl gettext; ncurses = ncursesDiet; stdenv = overrideGCC stdenv dietgcc; };