forked from mirrors/nixpkgs
websocat: use buildFeatures
This commit is contained in:
parent
0b95da3474
commit
1b7125db17
|
@ -12,13 +12,14 @@ rustPlatform.buildRustPackage rec {
|
|||
sha256 = "sha256-jwoWxK4phBqhIeo3+oRnpGsfvtn9gTR1ryd4N+0Lmbw=";
|
||||
};
|
||||
|
||||
cargoBuildFlags = [ "--features=ssl" ];
|
||||
cargoSha256 = "sha256-+3SG1maarY4DJ4+QiYGwltGLksOoOhKtcqstRwgzi2k=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config makeWrapper ];
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
buildFeatures = [ "ssl" ];
|
||||
|
||||
# Needed to get openssl-sys to use pkg-config.
|
||||
OPENSSL_NO_VENDOR=1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue