The ones I found seems to be out of date. https://github.com/input-output-hk/cardano-db-sync/blob/master/doc/building-running.md
Warning: Requested index-state 2021-07-02T00:00:00Z is newer than 'hackage.haskell.org'! Falling back to older state (2021-07-01T22:06:28Z). Resolving dependencies... cabal: Could not resolve dependencies: [__0] trying: Win32-network-0.1.0.0 (user goal) [__1] trying: base-184.108.40.206/installed-220.127.116.11 (dependency of Win32-network) [__2] trying: byron-spec-chain-0.1.0.0 (user goal) [__3] trying: microlens-th-0.4.3.10 (dependency of byron-spec-chain) [__4] trying: template-haskell-18.104.22.168/installed-22.214.171.124 (dependency of microlens-th) [__5] trying: pretty-126.96.36.199/installed-188.8.131.52 (dependency of template-haskell) [__6] trying: hedgehog-1.0.5 (dependency of byron-spec-chain) [__7] trying: time-1.9.3/installed-1.9.3 (dependency of hedgehog) [__8] trying: text-184.108.40.206/installed-220.127.116.11 (dependency of hedgehog) [__9] trying: cardano-api-1.29.0 (user goal) [_10] trying: scientific-0.3.7.0 (dependency of cardano-api) [_11] trying: aeson-18.104.22.168 (dependency of cardano-api) [_12] trying: cardano-db-11.0.0 (user goal) [_13] trying: postgresql-simple-0.6.4 (dependency of cardano-db) [_14] trying: postgresql-libpq-0.9.4.3 (dependency of postgresql-simple) [_15] rejecting: postgresql-libpq:-use-pkg-config (constraint from config file, command line flag, or user target requires opposite flag selection) [_15] rejecting: postgresql-libpq:+use-pkg-config (conflict: pkg-config package libpq>=9.3, not found in the pkg-config database) [_15] fail (backjumping, conflict set: postgresql-libpq, postgresql-libpq:use-pkg-config) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: postgresql-simple, base, postgresql-libpq, aeson, text, time, postgresql-libpq:use-pkg-config, scientific, cardano-db, cardano-api, hedgehog, pretty, template-haskell, byron-spec-chain, microlens-th, Win32-network Try running with --minimize-conflict-set to improve the error message.