3
0
Fork 0
forked from mirrors/nixpkgs

curl-sys: fix linking against zlib

This commit is contained in:
P-E-Meunier 2018-05-20 11:28:35 +01:00 committed by Jörg Thalheim
parent c0e2f7bbbe
commit aa1d7961e7

View file

@ -19,8 +19,9 @@ in
crateBin = [ { name = "cargo-vendor"; path = "src/main.rs"; } ];
};
curl-sys = attrs: {
buildInputs = [ pkgconfig zlib ];
propagatedBuiltInputs = [ curl ];
buildInputs = [ pkgconfig zlib curl ];
propagatedBuildInputs = [ curl zlib ];
extraLinkFlags = ["-L${zlib.out}/lib"];
};
libgit2-sys = attrs: {
LIBGIT2_SYS_USE_PKG_CONFIG = true;