From d1a2cdd3220abdae6995c2c27bdb3a25b41d519f Mon Sep 17 00:00:00 2001 From: midchildan Date: Mon, 20 Nov 2023 04:29:13 +0900 Subject: [PATCH] tokei: add zlib to checkInputs on Darwin --- pkgs/development/tools/misc/tokei/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/misc/tokei/default.nix b/pkgs/development/tools/misc/tokei/default.nix index b91460160ce8..3472a21f51dd 100644 --- a/pkgs/development/tools/misc/tokei/default.nix +++ b/pkgs/development/tools/misc/tokei/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }: +{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security, zlib }: rustPlatform.buildRustPackage rec { pname = "tokei"; @@ -17,6 +17,8 @@ rustPlatform.buildRustPackage rec { libiconv Security ]; + checkInputs = lib.optionals stdenv.isDarwin [ zlib ]; + # enable all output formats buildFeatures = [ "all" ];