@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, rustPlatform, pkgs, darwin }:
1+{ stdenv, lib, fetchFromGitHub, rustPlatform, openssl, pkgconfig, darwin, libiconv }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "httplz";
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
1111 sha256 = "0q9ng8vf01k65zmcm7bbkqyrkj5hs86zdxwrfj98f4xqxrm75rf6";
1212 };
1313
14− buildInputs = with pkgs; [ openssl pkgconfig ] ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
14+ buildInputs = [ openssl pkgconfig ] ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
1515
1616 cargoBuildFlags = [ "--bin httplz" ];
1717 cargoPatches = [ ./cargo-lock.patch ];