-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to build: custom build command for openssl-sys fails #50
Comments
@LemmingAvalanche Do you have pkg-config installed, as well as a -dev package for libssl? |
Good question. I did have The thing is that I used the So running this: sudo apt-get install libssl-dev
nix-shell -p rustStable.rustc -p rustStable.cargo -p git Gave me a shell in which I could run Closing since now it seems I just need to figure out how to find the ⁂ I’ve been unsuccesful in finding the right packages to use from Nix. nix-shell --pure -p rustStable.rustc -p rustStable.cargo -p git -p openssl -p pkgconfig
nix-shell -p rustStable.rustc -p rustStable.cargo -p git -p libressl -p pkgconfig
|
It turns out that Git-series has been added to Nixpkgs recently: |
I am trying to build this program with
cargo build
, but I get an errorwhich seems to be coming from the package openssl-sys, version 0.9.1.
Steps to reproduce
Executed with Rustc version 1.12.0 and Cargo version 0.13.0 in shell
nix-shell --pure -p rustStable.rustc -p rustStable.cargo -p git
.The text was updated successfully, but these errors were encountered: