pythonPackages.zstd: fix cross
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
{ stdenv, pkgconfig, fetchPypi, buildPythonPackage
|
{ stdenv, pkgconfig, fetchPypi, buildPythonPackage
|
||||||
|
, buildPackages
|
||||||
, zstd, pytest }:
|
, zstd, pytest }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@@ -12,7 +13,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "/usr/bin/pkg-config" "${pkgconfig}/bin/${pkgconfig.targetPrefix}pkg-config"
|
--replace "/usr/bin/pkg-config" "${buildPackages.pkgconfig}/bin/${buildPackages.pkgconfig.targetPrefix}pkg-config"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|||||||
Reference in New Issue
Block a user