From b0e68cc4fe3beb8e1155f92bfd066eeb879c80ee Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 15 Jan 2023 02:54:02 +0000 Subject: [PATCH] datez: add libiconv for macOS --- nix/pkgs/datez/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/pkgs/datez/default.nix b/nix/pkgs/datez/default.nix index 86de2146d1..511483189a 100644 --- a/nix/pkgs/datez/default.nix +++ b/nix/pkgs/datez/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, rustPlatform }: +{ lib, fetchFromGitHub, rustPlatform, libiconv }: rustPlatform.buildRustPackage rec { pname = "datez"; @@ -16,6 +16,10 @@ rustPlatform.buildRustPackage rec { cp ${./Cargo.lock} Cargo.lock ''; + buildInputs = [ + libiconv + ]; + meta = with lib; { description = "Convert a time into several timezones"; homepage = "https://github.com/fanf2/datez";