diff options
author | Robert Schütz <dev@schuetz-co.de> | 2020-06-21 20:10:14 +0200 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2020-06-21 20:10:14 +0200 |
commit | f0e598bd849455a4ec3b38cfc5275e0b5c8e91b9 (patch) | |
tree | a8352de67f7b1c10cf29fe3c33191499fc69b983 /pkgs/applications/misc/khard | |
parent | 9480bae337095fd24f61380bce3174fdfe926a00 (diff) |
khard: fix tests
Sandboxing causes the help to be displayed differently when the COLUMNS variable is not set. See https://github.com/scheibler/khard/issues/263.
Diffstat (limited to 'pkgs/applications/misc/khard')
-rw-r--r-- | pkgs/applications/misc/khard/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/misc/khard/default.nix b/pkgs/applications/misc/khard/default.nix index 8646b9864d9eb..98cd8a5a4fb01 100644 --- a/pkgs/applications/misc/khard/default.nix +++ b/pkgs/applications/misc/khard/default.nix @@ -22,6 +22,11 @@ python3.pkgs.buildPythonApplication rec { install -D misc/zsh/_khard $out/share/zsh/site-functions/_khard ''; + preCheck = '' + # see https://github.com/scheibler/khard/issues/263 + export COLUMNS=80 + ''; + meta = { homepage = "https://github.com/scheibler/khard"; description = "Console carddav client"; |