anchor.diff:  // optionalAttrs (preBuild != "")       { inherit preBuild; }
   // optionalAttrs (postBuild != "")      { inherit postBuild; }
   // optionalAttrs (doCheck)              { inherit doCheck; }
  +// optionalAttrs (doBench)              { inherit doBench; }
   // optionalAttrs (checkPhase != "")     { inherit checkPhase; }
   // optionalAttrs (preCheck != "")       { inherit preCheck; }
   // optionalAttrs (postCheck != "")      { inherit postCheck; }
  
positive.code:   otherBuildInputs = extraLibraries ++ librarySystemDepends ++ executableSystemDepends ++ setupHaskellDepends ++
                       buildTools ++ libraryToolDepends ++ executableToolDepends ++
                       optionals (allPkgconfigDepends != []) ([pkgconfig] ++ allPkgconfigDepends) ++
                       optionals doCheck (testDepends ++ testHaskellDepends ++ testSystemDepends ++ testToolDepends);
    allBuildInputs = propagatedBuildInputs ++ otherBuildInputs;
  
    haskellBuildInputs = stdenv.lib.filter isHaskellPkg allBuildInputs;
  
negative.code: , passthru ? {}
  , pkgconfigDepends ? [], libraryPkgconfigDepends ? [], executablePkgconfigDepends ? [], testPkgconfigDepends ? []
  , testDepends ? [], testHaskellDepends ? [], testSystemDepends ? []
  , benchDepends ? []
  , testTarget ? ""
  , broken ? false
  , preCompileBuildDriver ? "", postCompileBuildDriver ? ""
  