summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNathan Henrie <nate@n8henrie.com>2022-10-19 15:09:28 -0600
committerNathan Henrie <nate@n8henrie.com>2022-10-19 15:09:28 -0600
commited993c5038330c9dc0caf08bef7b64fc2f942f75 (patch)
tree7d1e29d81015b3408ee76c3484fa848da53179e5 /tests
parentef56fd8979b5f4e800c4716f62076e00600b1172 (diff)
Add system terminfo to TERMINFO_DIRS by default
Diffstat (limited to 'tests')
-rw-r--r--tests/environment-terminfo.nix10
1 files changed, 10 insertions, 0 deletions
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}
+ '';
+}