anchor.diff:    allPkgconfigDepends = pkgconfigDepends ++ libraryPkgconfigDepends ++ executablePkgconfigDepends ++
                           optionals doCheck testPkgconfigDepends ++ optionals doBenchmark benchmarkPkgconfigDepends;
   
  -  nativeBuildInputs = optional (allPkgconfigDepends != []) pkgconfig ++
  -                      buildTools ++ libraryToolDepends ++ executableToolDepends ++ [ removeReferencesTo ];
  +  nativeBuildInputs = [ ghc removeReferencesTo ] ++ optional (allPkgconfigDepends != []) pkgconfig ++
  +                      buildTools ++ libraryToolDepends ++ executableToolDepends;
     propagatedBuildInputs = buildDepends ++ libraryHaskellDepends ++ executableHaskellDepends;
     otherBuildInputs = setupHaskellDepends ++ extraLibraries ++ librarySystemDepends ++ executableSystemDepends ++
                        optionals (allPkgconfigDepends != []) allPkgconfigDepends ++
  
positive.code:     runHook postCompileBuildDriver
    '';
  
    inherit configureFlags;
  
    configurePhase = ''
  
negative.code:     runHook preSetupCompilerEnvironment
  
      echo "Build with ${ghc}."
      ${optionalString (hasActiveLibrary && hyperlinkSource) "export PATH=${hscolour}/bin:$PATH"}
  
      packageConfDir="$TMPDIR/package.conf.d"
  