anchor.diff:    ];
     preCheck = ''
       perl certs/create-certs.perl
  +    export TEST_LEI_ERR_LOUD=1
       export HOME="$NIX_BUILD_TOP"/home
       mkdir -p "$HOME"/.cache/public-inbox/inline-c
     '';
  
positive.code:     #   expected: anything else
      # waiting for child to reap grandchild...
      "spawn"
      # TODO: reenable after https://public-inbox.org/meta/20211208010730.f47xxgzj53nwgvja@sourcephile.fr/T/#m38685d23bd686442d91a4890bac3c018d427b96b
      # has been merged
      "lei-sigpipe"
      # Fails at least when TMPDIR is on ZFS
      "lei_to_mail"
      # Disabled after 1.7.0
      # https://public-inbox.org/public-inbox.git/commit/?id=7cb1f806dfa0173fb689048c56a755cb3874dcaf
      "lei-watch"
      "lei-auto-watch"
    ];
  
    testConditions = with lib;
  
negative.code:     man
    ];
  
    doCheck = !stdenv.isDarwin;
    checkInputs = [
      MailIMAPClient
      curl
  