I have a almost same problem. I tried to compile cardano-db-sync. But I got the blow messages.
Please let me know how I solve it.
-------------------the below-------------------------
~~
[new tag] pioneer-wave2 → pioneer-wave2
fatal: git cat-file: could not get object info
Unrecognized git object type:
Unable to checkout e8b9961f8c35996aae8f78fb9811f22e39af037e from https://github.com/input-output-hk/cardano-node.
builder for ‘/nix/store/dji4jsi7hv8ssh5kngfwb864b227v9nf-cardano-node-e8b9961.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/5h25fmg4hk2qx474m1p3if5abv24gv21-haskell-project-plan-to-nix-pkgs.drv’: 1 dependencies couldn’t be built
error: while evaluating the attribute ‘hsPkgs’ at /nix/store/i369k44ks1r4pwd7znr2pqvncx2nl06z-source/overlays/haskell.nix:549:15:
while evaluating the attribute ‘hsPkgs’ at /nix/store/i369k44ks1r4pwd7znr2pqvncx2nl06z-source/overlays/haskell.nix:526:43:
while evaluating anonymous function at /nix/store/i369k44ks1r4pwd7znr2pqvncx2nl06z-source/lib/import-and-filter-project.nix:5:1, called from /nix/store/i369k44ks1r4pwd7znr2pqvncx2nl06z-source/overlays/haskell.nix:504:27:
build of ‘/nix/store/5h25fmg4hk2qx474m1p3if5abv24gv21-haskell-project-plan-to-nix-pkgs.drv’ failed