Unverified Commit b83db93b authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

libtinfo: init at 6.4 (#285347)

parents 28c651c7 c3b147d3
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
{
  ncurses,
}:

ncurses.override {
  unicodeSupport = false;
  withTermlib = true;
}
+2 −0
Original line number Diff line number Diff line
@@ -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"
+2 −7
Original line number Diff line number Diff line
@@ -63,13 +63,8 @@ in {
  libtinfo = makeSharedObjectTest (getSharedObjectFromDebian "libedit.so.2.0.70" (fetchurl {
    url = "mirror://debian/pool/main/libe/libedit/libedit2_3.1-20221030-2_amd64.deb";
    hash = "sha256-HPFKvycW0yedsS0GV6VzfPcAdKHnHTvfcyBmJePInOY=";
  })) (p: let
    ncurses' = p.ncurses.overrideAttrs (old: {
      configureFlags = old.configureFlags ++ [ "--with-termlib" ];
      postFixup = "";
    });
  in [
    (ncurses'.override { unicodeSupport = false; })
  })) (p: [
    p.libtinfo
    p.libbsd
  ]);