about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMauricio Collares <mauricio@collares.org>2023-10-20 14:53:00 +0200
committerMauricio Collares <mauricio@collares.org>2023-10-20 14:54:45 +0200
commitcff2c0d2ccca7ed6546f21e461c48a817f8fce5f (patch)
tree4676077f76c103878a977f14854e6e925e5ac050
parent54968254b080bfc00f1fe7bf337c46335215c5a1 (diff)
python311Packages.rpy2: fix build
-rw-r--r--pkgs/development/python-modules/rpy2/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/rpy2/default.nix b/pkgs/development/python-modules/rpy2/default.nix
index 4d0e19f513a85..837d77b4dce29 100644
--- a/pkgs/development/python-modules/rpy2/default.nix
+++ b/pkgs/development/python-modules/rpy2/default.nix
@@ -81,6 +81,10 @@ buildPythonPackage rec {
 
     doCheck = !stdenv.isDarwin;
 
+    # newlines in environment variables are a problem due to
+    # https://github.com/rpy2/rpy2/issues/1066
+    preCheck = "unset postPatch";
+
     nativeCheckInputs = [
       pytestCheckHook
     ];