summary refs log tree commit diff
path: root/pkgs/development/python-modules/frozendict/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/frozendict/default.nix')
-rw-r--r--pkgs/development/python-modules/frozendict/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/frozendict/default.nix b/pkgs/development/python-modules/frozendict/default.nix
index e1ab3d9da89..02579d97d28 100644
--- a/pkgs/development/python-modules/frozendict/default.nix
+++ b/pkgs/development/python-modules/frozendict/default.nix
@@ -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"
   ];