summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFliegendeWurst <arne.keller@posteo.de>2025-04-08 09:28:01 +0200
committerWolfgang Walther <walther@technowledgy.de>2025-08-09 18:44:49 +0200
commitb9728122ba70233eaa2575eb74da3f914ee960bb (patch)
tree080cf205ebb1b0a8f412e003040485ad2486a327
parentmeson: fix build when using pypy (diff)
downloadnixpkgs-origin/backport-393847-to-release-25.05.tar.gz
(cherry picked from commit 214357a159992e44f8aef1f4898c8fa6dcdf3f4c)
-rw-r--r--pkgs/development/python-modules/cython/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/cython/default.nix b/pkgs/development/python-modules/cython/default.nix
index 28e2ee2de78a..45fc174577ae 100644
--- a/pkgs/development/python-modules/cython/default.nix
+++ b/pkgs/development/python-modules/cython/default.nix
@@ -3,6 +3,7 @@
buildPythonPackage,
fetchFromGitHub,
gdb,
+ isPyPy,
ncurses,
numpy,
pkg-config,
@@ -36,7 +37,9 @@ buildPythonPackage rec {
ncurses
];
- env.LC_ALL = "en_US.UTF-8";
+ env = lib.optionalAttrs (!isPyPy) {
+ LC_ALL = "en_US.UTF-8";
+ };
# https://github.com/cython/cython/issues/2785
# Temporary solution