|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, darwin }: |
|
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }: |
|
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec { |
|
|
|
|
pname = "tokei"; |
|
|
|
@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec { |
|
|
|
|
cargoSha256 = "sha256-iUDc54E8AiLMJw9h99kg/3VmaSi8GqfQyrPwa9nJ994="; |
|
|
|
|
|
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ |
|
|
|
|
libiconv darwin.apple_sdk.frameworks.Security |
|
|
|
|
libiconv Security |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
# enable all output formats |
|
|
|
|