anchor.diff:              extraBuildInputs = self.buildTools ++
                                  (optionals self.doCheck self.testDepends) ++
                                  (optional self.hyperlinkSource hscolour) ++
  +                               (optional self.useCpphs cpphs) ++
                                  (if self.pkgconfigDepends == [] then [] else [pkgconfig]) ++
                                  (if self.isLibrary then [] else self.buildDepends ++ self.extraLibraries ++ self.pkgconfigDepends);
   
  
positive.code:               export GHC_PACKAGE_PATH=$(${ghc.GHCPackages})
                test -n "$noHaddock" || ./Setup haddock --html --hoogle \
                    ${optionalString (stdenv.lib.versionOlder "6.12" ghc.version) "--ghc-options=-optP-P"} \
                    ${optionalString self.hyperlinkSource "--hyperlink-source"}
  
                eval "$postBuild"
              '';
  
negative.code:               ${optionalString (versionOlder "7.8" ghc.version && !self.isLibrary) ''
                  configureFlags+=" --ghc-option=-j$NIX_BUILD_CORES"
                ''}
                ${optionalString self.useCpphs ''
                  configureFlags+=" --ghc-option=-pgmPcpphs --ghc-option=-optP--cpp"
                ''}
  
                ${optionalString self.stdenv.isDarwin ''
                  configureFlags+=" --with-gcc=clang"
  