From ed993c5038330c9dc0caf08bef7b64fc2f942f75 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Wed, 19 Oct 2022 15:09:28 -0600 Subject: Add system terminfo to TERMINFO_DIRS by default --- tests/environment-terminfo.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/environment-terminfo.nix (limited to 'tests') diff --git a/tests/environment-terminfo.nix b/tests/environment-terminfo.nix new file mode 100644 index 0000000..c0fb968 --- /dev/null +++ b/tests/environment-terminfo.nix @@ -0,0 +1,10 @@ +{ config, lib, pkgs, ... }: + +with lib; + +{ + test = '' + echo checking /usr/share/terminfo in environment >&2 + grep 'export TERMINFO=.*:/usr/share/terminfo' ${config.system.build.setEnvironment} + ''; +} -- cgit v1.2.3