diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/nano/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/nano/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/applications/editors/nano/default.nix b/nixpkgs/pkgs/applications/editors/nano/default.nix index 5b51f9563c39..cbb53a8f9991 100644 --- a/nixpkgs/pkgs/applications/editors/nano/default.nix +++ b/nixpkgs/pkgs/applications/editors/nano/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchurl, fetchFromGitHub, ncurses, texinfo, writeScript , common-updater-scripts, git, nix, nixfmt, coreutils, gnused, callPackage -, gettext ? null, enableNls ? true, enableTiny ? false }: +, file ? null, gettext ? null, enableNls ? true, enableTiny ? false }: assert enableNls -> (gettext != null); @@ -22,7 +22,7 @@ in stdenv.mkDerivation rec { }; nativeBuildInputs = [ texinfo ] ++ lib.optional enableNls gettext; - buildInputs = [ ncurses ]; + buildInputs = [ ncurses ] ++ lib.optional (!enableTiny) file; outputs = [ "out" "info" ]; |