From 9fea194ecda04ce4a4d3f0d86f12f8e5337706d7 Mon Sep 17 00:00:00 2001 From: fortuneteller2k Date: Tue, 11 May 2021 09:01:45 +0800 Subject: [PATCH] xplr: add libiconv as dependency when on darwin --- pkgs/applications/misc/xplr/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/xplr/default.nix b/pkgs/applications/misc/xplr/default.nix index 1bc02e8952eb..f32aa8456e2a 100644 --- a/pkgs/applications/misc/xplr/default.nix +++ b/pkgs/applications/misc/xplr/default.nix @@ -1,4 +1,4 @@ -{ lib, rustPlatform, fetchFromGitHub }: +{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }: rustPlatform.buildRustPackage rec { pname = "xplr"; @@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec { sha256 = "00kmmdwwf9cll25bkszgin2021ggf9b28jlcpicin5kgw4iwlhkj"; }; + buildInputs = lib.optional stdenv.isDarwin libiconv; + cargoSha256 = "1j43vwb885h355wdmjijz1qpkqn1dmb93hwi6vc035vkbbxs1g4r"; meta = with lib; {