From a5bff380e60bcb56ed69407e7e27b45385061007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Sun, 16 May 2021 21:36:23 +0200 Subject: [PATCH] krapslog: fix darwin build --- pkgs/tools/misc/krapslog/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/krapslog/default.nix b/pkgs/tools/misc/krapslog/default.nix index ba6f92cc0fc..a5cbbc87770 100644 --- a/pkgs/tools/misc/krapslog/default.nix +++ b/pkgs/tools/misc/krapslog/default.nix @@ -1,4 +1,4 @@ -{ lib, rustPlatform, fetchFromGitHub }: +{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }: rustPlatform.buildRustPackage rec { pname = "krapslog"; @@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-rcLsqMegCos+v0OkdRvH9xoopE7R/njEUVteMY/6mj8="; + buildInputs = lib.optional stdenv.isDarwin libiconv; + meta = with lib; { description = "Visualize a log file with sparklines"; homepage = "https://github.com/acj/krapslog-rs";