From d54cf8100bef1efee5446d365c4276d7b150ed89 Mon Sep 17 00:00:00 2001 From: Jelle Besseling Date: Sat, 12 Jun 2021 14:35:52 +0200 Subject: [PATCH] python3Packages.wasmer: fix Darwin build --- pkgs/development/python-modules/wasmer/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/wasmer/default.nix b/pkgs/development/python-modules/wasmer/default.nix index 373e7a0a2203..14cac4998831 100644 --- a/pkgs/development/python-modules/wasmer/default.nix +++ b/pkgs/development/python-modules/wasmer/default.nix @@ -1,7 +1,9 @@ { lib +, stdenv , rustPlatform , fetchFromGitHub , buildPythonPackage +, libiconv }: let pname = "wasmer"; @@ -26,6 +28,8 @@ in buildPythonPackage rec { nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ]; + buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; + buildAndTestSubdir = "packages/api"; doCheck = false;