nix-community / nix-index

Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]
Other
821 stars 50 forks source link

Old hyper-proxy dependency version requires EOL OpenSSL version #151

Open enolan opened 3 years ago

enolan commented 3 years ago

The hyper-proxy = "0.4.0" dependency transitively depends on openssl v0.9.24 (Rust) which needs OpenSSL 1.0.x (C) according to this GH issue. OpenSSL 1.0.2 and earlier are EOL and banned in nixpkgs. The dependency problem can be fixed by switching to hyper-proxy 0.8.0, but there are changes in the API that make nix-index not compile anymore so it's not totally trivial.

legendofmiracles commented 2 years ago

Is there any workaround for this?

bennofs commented 2 years ago

In https://github.com/bennofs/nix-index/commit/6dfee924a26364fbeef14eb6e0ef7f177ec85ad3 I upgraded new tokio/hyper and the new futures api, so master should compile with newer OpenSSL now. I'll still need to cleanup some things but hopefully can get out a new release with the fix soon.

legendofmiracles commented 2 years ago

It all now works for me - great work, thank you!