Skip to content

Commit d1a2cdd

Browse files
midchildanYt
authored andcommitted
tokei: add zlib to checkInputs on Darwin
1 parent 73f8940 commit d1a2cdd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgs/development/tools/misc/tokei/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }:
1+
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security, zlib }:
22

33
rustPlatform.buildRustPackage rec {
44
pname = "tokei";
@@ -17,6 +17,8 @@ rustPlatform.buildRustPackage rec {
1717
libiconv Security
1818
];
1919

20+
checkInputs = lib.optionals stdenv.isDarwin [ zlib ];
21+
2022
# enable all output formats
2123
buildFeatures = [ "all" ];
2224

0 commit comments

Comments
 (0)