anchor.diff:      done
   
       echo setupCompileFlags: $setupCompileFlags
  -    ${optionalString (setupHaskellDepends != [])
  -       ''
  -       echo GHC_PACKAGE_PATH="$setupPackageConfDir:"
  -       GHC_PACKAGE_PATH="$setupPackageConfDir:" ''
  -    }${nativeGhcCommand} $setupCompileFlags --make -o Setup -odir $TMPDIR -hidir $TMPDIR $i
  +    ${nativeGhcCommand} $setupCompileFlags --make -o Setup -odir $TMPDIR -hidir $TMPDIR $i
   
       runHook postCompileBuildDriver
     '';
  
positive.code:   ] ++ crossCabalFlags);
  
    setupCompileFlags = [
      (optionalString (!coreSetup) "-${nativePackageDbFlag}=$packageConfDir")
      (optionalString (isGhcjs || isHaLVM || versionOlder "7.8" ghc.version) "-j$NIX_BUILD_CORES")
      # https://github.com/haskell/cabal/issues/2398
      (optionalString (versionOlder "7.10" ghc.version && !isHaLVM) "-threaded")
  
negative.code:   # pkgs* arrays defined in stdenv/setup.hs
    + (optionalString (setupHaskellDepends != []) ''
      for p in "''${pkgsBuildBuild[@]}" "''${pkgsBuildHost[@]}" "''${pkgsBuildTarget[@]}"; do
        ${buildPkgDb nativeGhc.name "$setupPackageConfDir"}
      done
      ${nativeGhcCommand}-pkg --${nativePackageDbFlag}="$setupPackageConfDir" recache
    '')
  