nix-community / nix-index

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

Upgrade rust / modernize #170

Closed edude03 closed 2 years ago

edude03 commented 3 years ago

I'm working on upgrading hyper-proxy so that we can get #152 merged, and added to nixpkgs, and found a bunch of minor issues a long the way, so I figured I'd open them a number of PRs

emilytrau commented 3 years ago

I was able to use this branch to build on aarch64-darwin. I just had to run cargo update -p lzma-sys --precise 0.1.17 and update the cargo hash. Here's the resulting patch.

Related to #169

colinbendell commented 2 years ago

@bennofs what's the next step here? How can we help approve this PR (and patch)?

arkivm commented 2 years ago

@bennofs thanks for merging this PR and the darwin-fixes. Since this fixes darwin build, do you think it's a good idea to bump the version? I would like to stick to a version in the upstream nixpkgs rather than a commit. Thank you!

bennofs commented 2 years ago

I think we still need to upgrade the openssl version, it fails with the latest one from nixpkgs unstable. After that I'll make a new release.

legendofmiracles commented 2 years ago

Please do, compilation is failing for me with thread 'main' panicked at 'Unable to detect OpenSSL version', /home/nix/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14, despite me having openssl and pkg-config in my shell.

edude03 commented 2 years ago

You're running into this https://github.com/bennofs/nix-index/issues/151