forked from mirrors/nixpkgs
curl-sys: fix linking against zlib
This commit is contained in:
parent
c0e2f7bbbe
commit
aa1d7961e7
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue