anchor.diff:    LC_ALL = "en_US.UTF-8";
   
     postInstall = ''
  -    # zsh completion
  -    install -D misc/__khal $out/share/zsh/site-functions/__khal
  +    # shell completions
  +    installShellCompletion --cmd khal \
  +      --bash <(_KHAL_COMPLETE=bash_source $out/bin/khal) \
  +      --fish <(_KHAL_COMPLETE=zsh_source $out/bin/khal) \
  +      --zsh <(_KHAL_COMPLETE=fish_source $out/bin/khal)
   
       # man page
       PATH="${python3.withPackages (ps: with ps; [ sphinx sphinxcontrib_newsfeed ])}/bin:$PATH" \
  
positive.code: { lib, stdenv, pkgs, python3, fetchpatch, glibcLocales }:
  
  with python3.pkgs; buildPythonApplication rec {
    pname = "khal";
    version = "0.10.4";
  
    src = fetchPypi {
      inherit pname version;
      sha256 = "3fdb980a9a61c0206d7a82b16f77b408a4f341a2b866b9c9fcf6a641850d129f";
    };
  
    propagatedBuildInputs = [
  
negative.code: 
    doCheck = !stdenv.isAarch64;
  
    meta = with lib; {
      broken = stdenv.isDarwin;
      homepage = "http://lostpackets.de/khal/";
  