anchor.diff:  , asciidoc
   , docbook_xml_dtd_45
   , docbook_xsl
  +, installShellFiles
   , libxslt
   , python3
   , re2c
  
positive.code:     runHook preInstall
  
      install -Dm555 -t $out/bin ninja
      install -Dm444 misc/bash-completion $out/share/bash-completion/completions/ninja
      install -Dm444 misc/zsh-completion $out/share/zsh/site-functions/_ninja
    '' + lib.optionalString buildDocs ''
      install -Dm444 -t $out/share/doc/ninja doc/manual.asciidoc doc/manual.html
    '' + ''
  
negative.code:   nativeBuildInputs = [
      python3
      re2c
      installShellFiles
    ]
    ++ lib.optionals buildDocs [
      asciidoc
  