mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
pythonPackages.zstd: fix cross
This commit is contained in:
parent
489912ee8b
commit
533e56c262
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
{ stdenv, pkgconfig, fetchPypi, buildPythonPackage
|
||||
, buildPackages
|
||||
, zstd, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -12,7 +13,7 @@ buildPythonPackage rec {
|
|||
|
||||
postPatch = ''
|
||||
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 ];
|
||||
|
|
Loading…
Reference in a new issue