oksh: link to ncurses

This fixes the ^L keybinding in emacs mode to properly clear the
screen.
This commit is contained in:
Josh Rickmar 2024-04-14 23:23:23 -04:00
parent c50e3d8b2b
commit c0200c0d4e
1 changed files with 8 additions and 1 deletions

View File

@ -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";