about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@zettaport.com>2024-04-14 23:23:23 -0400
committerJosh Rickmar <jrick@zettaport.com>2024-04-14 23:23:23 -0400
commitc0200c0d4efd2213416f92ff058a19cbeca636cc (patch)
treed2c5ce01574519d610bf2fee0a0572a0aa11efe6 /pkgs/shells
parentc50e3d8b2b7f54ec16831213515dc5a1fa44044a (diff)
oksh: link to ncurses
This fixes the ^L keybinding in emacs mode to properly clear the
screen.
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/oksh/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/shells/oksh/default.nix b/pkgs/shells/oksh/default.nix
index 0be401c0a1f2a..391ccab4ea5f0 100644
--- a/pkgs/shells/oksh/default.nix
+++ b/pkgs/shells/oksh/default.nix
@@ -1,4 +1,9 @@
-{ stdenv, lib, fetchFromGitHub, buildPackages }:
+{ stdenv
+, lib
+, fetchFromGitHub
+, buildPackages
+, ncurses
+}:
 
 stdenv.mkDerivation rec {
   pname = "oksh";
@@ -19,6 +24,8 @@ stdenv.mkDerivation rec {
 
   configureFlags = [ "--no-strip" ];
 
+  buildInputs = [ ncurses ];
+
   meta = with lib; {
     description = "Portable OpenBSD ksh, based on the Public Domain Korn Shell (pdksh)";
     mainProgram = "oksh";