From c0200c0d4efd2213416f92ff058a19cbeca636cc Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Sun, 14 Apr 2024 23:23:23 -0400 Subject: [PATCH] oksh: link to ncurses This fixes the ^L keybinding in emacs mode to properly clear the screen. --- pkgs/shells/oksh/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/shells/oksh/default.nix b/pkgs/shells/oksh/default.nix index 0be401c0a1f2..391ccab4ea5f 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";