diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix index ede85aeada5a..f9c929c21bfb 100644 --- a/pkgs/applications/misc/khal/default.nix +++ b/pkgs/applications/misc/khal/default.nix @@ -46,6 +46,10 @@ in with python.pkgs; buildPythonApplication rec { nativeBuildInputs = [ setuptools_scm pkgs.glibcLocales ]; checkInputs = [ pytest ]; + postInstall = '' + install -D misc/__khal $out/share/zsh/site-functions/__khal + ''; + checkPhase = '' py.test '';