python3Packages.wasmer: fix Darwin build
This commit is contained in:
parent
1fe827462c
commit
d54cf8100b
1 changed files with 4 additions and 0 deletions
|
@ -1,7 +1,9 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, libiconv
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
pname = "wasmer";
|
pname = "wasmer";
|
||||||
|
@ -26,6 +28,8 @@ in buildPythonPackage rec {
|
||||||
|
|
||||||
nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ];
|
nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ];
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||||
|
|
||||||
buildAndTestSubdir = "packages/api";
|
buildAndTestSubdir = "packages/api";
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
Loading…
Reference in a new issue