So I’m very new to Nix, I was hoping to use it to set up a haskell environment for me. One thing I’d like to use is GitHub - haskell/haskell-ide-engine: The engine for haskell ide-integration. Not an IDE, but when I try to follow the install instructions for nix here, I get errors:
building '/nix/store/j8jbrjsx596aia1mmslgrw0nnvdv6drp-haskell-ide-engine-c68ba8d.drv'...
exporting https://github.com/haskell/haskell-ide-engine.git (rev c68ba8d5cfb9cb89d04efd2bbda575d055a5e10b) into /nix/store/pjxjhk0qaha9k0v4dgdzh96yn8xr3vaa-haskell-ide-engine-c68ba8d
Initialized empty Git repository in /nix/store/pjxjhk0qaha9k0v4dgdzh96yn8xr3vaa-haskell-ide-engine-c68ba8d/.git/
fatal: unknown value for config 'protocol.version': 2
fatal: unknown value for config 'protocol.version': 2
Unable to checkout c68ba8d5cfb9cb89d04efd2bbda575d055a5e10b from https://github.com/haskell/haskell-ide-engine.git.
builder for '/nix/store/j8jbrjsx596aia1mmslgrw0nnvdv6drp-haskell-ide-engine-c68ba8d.drv' failed with exit code 1
cannot build derivation '/nix/store/ffz13fbya48bh259l0sdxh9z4vla55vz-haskell-ide-engine-0.1.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/xgq3c8383y897wpx6fiirynxw4kngbr5-haskell-ide-engine-0.1.0.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/isqhqs1lq23fhv65b73bacaxjbwpk5qr-hies.drv': 1 dependencies couldn't be built
error: build of '/nix/store/isqhqs1lq23fhv65b73bacaxjbwpk5qr-hies.drv' failed
Specifically, it seems that somehow nix is using an old version of git, but with a newer protocol.version of 2 that it doesn’t support?
What am I doing wrong?