python39Packages.frozendict: fix build on non-x86_64 systems

This commit is contained in:
Enno Richter 2021-12-22 13:43:05 +01:00
parent faa2652e68
commit 687b1233c2

View File

@ -18,6 +18,11 @@ buildPythonPackage rec {
sha256 = "0189168749ddea8601afd648146c502533f93ae33840eb76cd71f694742623cd";
};
postPatch = ''
# fixes build on non-x86_64 architectures
rm frozendict/src/3_9/cpython_src/Include/pyconfig.h
'';
pythonImportsCheck = [
"frozendict"
];