From d375e8d1be598ecbedc53cc0411f3e359a3628c6 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 31 Jan 2024 21:47:22 +0200 Subject: [PATCH] ncurses: support termlib --- pkgs/development/libraries/ncurses/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/ncurses/default.nix b/pkgs/development/libraries/ncurses/default.nix index 2a4e89d7f3df..0ee09d2416cd 100644 --- a/pkgs/development/libraries/ncurses/default.nix +++ b/pkgs/development/libraries/ncurses/default.nix @@ -9,6 +9,7 @@ , enableStatic ? stdenv.hostPlatform.isStatic , withCxx ? !stdenv.hostPlatform.useAndroidPrebuilt , mouseSupport ? false, gpm +, withTermlib ? false , unicodeSupport ? true , testers , binlore @@ -38,6 +39,7 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optional (!withCxx) "--without-cxx" ++ lib.optional (abiVersion == "5") "--with-abi-version=5" ++ lib.optional stdenv.hostPlatform.isNetBSD "--enable-rpath" + ++ lib.optional withTermlib "--with-termlib" ++ lib.optionals stdenv.hostPlatform.isWindows [ "--enable-sp-funcs" "--enable-term-driver"