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