tokei: remove darwin from inputs

This commit is contained in:
Sandro Jäckel 2021-02-12 02:54:10 +01:00
parent 616edb1c64
commit c04f546618
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 5 additions and 3 deletions

@ -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

@ -8378,7 +8378,9 @@ in
toilet = callPackage ../tools/misc/toilet { };
tokei = callPackage ../development/tools/misc/tokei { };
tokei = callPackage ../development/tools/misc/tokei {
inherit (darwin.apple_sdk.frameworks) Security;
};
toml2nix = (callPackage ../tools/toml2nix { }).toml2nix { };