bitemyapp / bloodhound

Haskell Elasticsearch client and query DSL
bitemyapp.com
BSD 3-Clause "New" or "Revised" License
424 stars 118 forks source link

Is it possible to use a later version of containers and http-client #270

Closed CMCDragonkai closed 4 years ago

CMCDragonkai commented 4 years ago

I'm attempting to use bloodhound in nixpkgs.

Right now its marked as broken because it has version requirements that aren't satisfied anymore.

It says that it needs:

containers >=0.5.0.0 && <0.6, http-client >=0.4.30 && <0.6

But the current containers version in nixpkgs is 0.6.2.1 and the current http-client version is 0.6.4.

I'm thinking that the API must be compatible, and we should able to loosen the versioning constraints.

CMCDragonkai commented 4 years ago

I just saw that on the master branch these constraints have already been removed. This means we just need to create a new release for the master, and then things can be fixed.

CMCDragonkai commented 4 years ago

Working with a cabal2nix generated from master branch. Also had to disable tests because it doesn't work inside nix.

Also found out about self.callCabal2nix but didn't use it.