From b3bf6dc11212f56e9ad5bd6ab73f9ae940620e37 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Fri, 20 Jan 2023 14:17:34 +0800 Subject: [PATCH] python3Packages.cryptg: fix build on darwin --- pkgs/development/python-modules/cryptg/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/cryptg/default.nix b/pkgs/development/python-modules/cryptg/default.nix index 3d321a0a41c2..ab5996351996 100644 --- a/pkgs/development/python-modules/cryptg/default.nix +++ b/pkgs/development/python-modules/cryptg/default.nix @@ -1,9 +1,11 @@ { lib +, stdenv , buildPythonPackage , fetchFromGitHub , pythonOlder , rustPlatform , setuptools-rust +, libiconv }: buildPythonPackage rec { @@ -32,6 +34,10 @@ buildPythonPackage rec { rust.cargo ]; + buildInputs = lib.optionals stdenv.isDarwin [ + libiconv + ]; + # has no tests doCheck = false;