tokei: add zlib to checkInputs on Darwin

This commit is contained in:
midchildan 2023-11-20 04:29:13 +09:00 committed by Yt
parent 73f8940410
commit d1a2cdd322

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }: { lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security, zlib }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "tokei"; pname = "tokei";
@ -17,6 +17,8 @@ rustPlatform.buildRustPackage rec {
libiconv Security libiconv Security
]; ];
checkInputs = lib.optionals stdenv.isDarwin [ zlib ];
# enable all output formats # enable all output formats
buildFeatures = [ "all" ]; buildFeatures = [ "all" ];