starship: remove openssl from buildInputs

No longer necessary, as v0.32.1 started using rustls.
d1b725a47c
This commit is contained in:
Oleksii Filonenko 2019-12-22 18:07:58 +02:00
parent 8af37a3bf0
commit 3715a75d16
No known key found for this signature in database
GPG key ID: F3510FE5691629A1

View file

@ -1,5 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform
, pkg-config, openssl
, libiconv, Security }:
rustPlatform.buildRustPackage rec {
@ -13,8 +12,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "047nvi231hzwjfci13x8lhszmaccb94mn5lvnyq24zb0im8br6d3";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ (stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ]);
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
postPatch = ''
substituteInPlace src/utils.rs \