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:
parent
22cd5eb643
commit
0c321443d5
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig, perl }:
|
{ stdenv, lib, fetchFromGitHub, libtool, pkgconfig, perl, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "unibilium-${version}";
|
name = "unibilium-${version}";
|
||||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
|
++ stdenv.lib.optional stdenv.isDarwin "LIBTOOL=${libtool}/bin/libtool";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig perl ];
|
nativeBuildInputs = [ pkgconfig perl ];
|
||||||
buildInputs = [ libtool ];
|
buildInputs = [ libtool ncurses ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A very basic terminfo library";
|
description = "A very basic terminfo library";
|
||||||
|
Loading…
Reference in New Issue
Block a user