From 851e70627a9c4c22dd77bc182b5d1feda59ceea3 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 7 Mar 2023 04:20:00 +0000 Subject: [PATCH] python310Packages.evtx: fix build on darwin --- pkgs/development/python-modules/evtx/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/evtx/default.nix b/pkgs/development/python-modules/evtx/default.nix index af6f36ec6f9e..b949864dc7aa 100644 --- a/pkgs/development/python-modules/evtx/default.nix +++ b/pkgs/development/python-modules/evtx/default.nix @@ -5,6 +5,7 @@ , pytestCheckHook , pythonOlder , rustPlatform +, libiconv }: buildPythonPackage rec { @@ -32,6 +33,10 @@ buildPythonPackage rec { maturinBuildHook ]; + buildInputs = lib.optionals stdenv.isDarwin [ + libiconv + ]; + nativeCheckInputs = [ pytestCheckHook ]; @@ -46,6 +51,5 @@ buildPythonPackage rec { changelog = "https://github.com/omerbenamram/pyevtx-rs/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; - broken = stdenv.isDarwin; }; }