3
0
Fork 0
forked from mirrors/nixpkgs

Add libiconv to regress module buildInputs.

This commit is contained in:
Liv Gorence 2024-01-23 21:32:56 -08:00
parent 19f815760d
commit a100e339a1
No known key found for this signature in database

View file

@ -1,7 +1,9 @@
{ lib
, stdenv
, fetchPypi
, buildPythonPackage
, rustPlatform
, libiconv
}:
buildPythonPackage rec {
@ -17,6 +19,8 @@ buildPythonPackage rec {
nativeBuildInputs = with rustPlatform; [ cargoSetupHook maturinBuildHook ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";