unibilium: add ncurses as build input

unibilium expects to use the `ncursesw6-config` command to find terminfo dirs. Before that would fail & default to some nonexistant TERMINFO_DIRS value (on pure systems at least). This will add `ncurses.out` which is a little bit unfortunate because unibilium is meant as a replacement for ncurses. In the future, we should add a `terminfo` output to ncurses so that other things can use its db without pulling in its libraries & binaries.

Fixes #40404.
This commit is contained in:
Matthew Justin Bauer 2018-05-12 10:43:05 -05:00 committed by GitHub
parent 22cd5eb643
commit 0c321443d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig, perl }:
{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig, perl, ncurses }:
stdenv.mkDerivation rec {
name = "unibilium-${version}";
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
nativeBuildInputs = [ pkgconfig perl ];
buildInputs = [ libtool ];
buildInputs = [ libtool ncurses ];
meta = with lib; {
description = "A very basic terminfo library";