From 1f22e7143975ab0914859a9819887909cf8a4b91 Mon Sep 17 00:00:00 2001
From: Matthew Bauer <mjbauer95@gmail.com>
Date: Wed, 5 Jun 2019 23:43:37 -0400
Subject: [PATCH] ksh: add libiconv dependency

---
 pkgs/shells/ksh/default.nix | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/pkgs/shells/ksh/default.nix b/pkgs/shells/ksh/default.nix
index 05335a1eb68c..d16704b71d5e 100644
--- a/pkgs/shells/ksh/default.nix
+++ b/pkgs/shells/ksh/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, meson, ninja, fetchFromGitHub, which, python }:
+{ stdenv, meson, ninja, fetchFromGitHub, which, python, libiconv }:
 
 stdenv.mkDerivation rec {
   name = "ksh-${version}";
@@ -13,13 +13,15 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ meson ninja which python ];
 
+  buildInputs = [ libiconv ];
+
   meta = with stdenv.lib; {
     description = "KornShell Command And Programming Language";
     longDescription = ''
       The KornShell language was designed and developed by David G. Korn at
       AT&T Bell Laboratories. It is an interactive command language that
       provides access to the UNIX system and to many other systems, on the
-      many different computers and workstations on which it is implemented. 
+      many different computers and workstations on which it is implemented.
     '';
     homepage = https://github.com/att/ast;
     license = licenses.cpl10;
@@ -31,4 +33,3 @@ stdenv.mkDerivation rec {
     shellPath = "/bin/ksh";
   };
 }
-