mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
tokei: fix missing Security framework on macOS
This commit is contained in:
parent
66c091c52c
commit
bbba525226
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, rustPlatform, libiconv }:
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, libiconv, darwin }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "tokei";
|
||||
|
@ -13,7 +13,9 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoSha256 = "1xai3jxvs8r3s3v5d5w40miw6nihnj9gzlzzdrwphmgrkywr88c4";
|
||||
|
||||
buildInputs = [ libiconv ];
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [
|
||||
libiconv darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Program that displays statistics about your code";
|
||||
|
|
Loading…
Reference in a new issue