python3Packages.lzallright: fix build on darwin

This commit is contained in:
Weijia Wang 2023-05-23 13:53:32 +03:00 committed by László Vaskó
parent 0479d24b0e
commit b1f3f99a8f

View file

@ -1,8 +1,10 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, callPackage , callPackage
, fetchFromGitHub , fetchFromGitHub
, rustPlatform , rustPlatform
, libiconv
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -26,6 +28,8 @@ buildPythonPackage rec {
nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
pythonImportsCheck = [ "lzallright" ]; pythonImportsCheck = [ "lzallright" ];
doCheck = false; doCheck = false;