Unable to compile Reqwest via nix-shell.
pwnwriter opened this issue · 2 comments
pwnwriter commented
I've a simple project where I'm using reqwest and ring.
Cargo.toml
[dependencies]
reqwest = { version = "0.11.24", features = ["blocking", "rustls-tls"], default-features = false }
ring = "0.17.8"
main.rs
fn main(){
let client = reqwest::blocking::Client::new();
dbg!(client);
}
I do have ld
but the issue still persists, Do you have any suggestion? Can understand it doesn't relate to the flake itself.

pwnwriter commented
I solved it by initiating, darwin.apple_sdk.frameworks.SystemConfiguration
pkg inside the flake.
Thanks for the template :)
srid commented
You can also post questions in https://nixos.zulipchat.com/#narrow/stream/413950-nix