summary refs log tree commit diff
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2019-03-05 21:55:51 +0100
committerTimo Kaufmann <timokau@zoho.com>2019-04-17 22:44:10 +0200
commit930fa9b92ed8fcd8e976eeb3c519b6ce7c2a96bc (patch)
treebb065983d381f8828fd09f66a492927c76fe7c0a
parent1f643b9c49154d55e56adb26a684303294e504e9 (diff)
downloadnixpkgs-930fa9b92ed8fcd8e976eeb3c519b6ce7c2a96bc.tar
nixpkgs-930fa9b92ed8fcd8e976eeb3c519b6ce7c2a96bc.tar.gz
nixpkgs-930fa9b92ed8fcd8e976eeb3c519b6ce7c2a96bc.tar.bz2
nixpkgs-930fa9b92ed8fcd8e976eeb3c519b6ce7c2a96bc.tar.lz
nixpkgs-930fa9b92ed8fcd8e976eeb3c519b6ce7c2a96bc.tar.xz
nixpkgs-930fa9b92ed8fcd8e976eeb3c519b6ce7c2a96bc.tar.zst
nixpkgs-930fa9b92ed8fcd8e976eeb3c519b6ce7c2a96bc.zip
python.pkgs.cysignals: propagate pari
This didn't cause issues earlier since all packages that depend on
cysignals have a pari dependency anyways.
-rw-r--r--pkgs/development/python-modules/cysignals/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/cysignals/default.nix b/pkgs/development/python-modules/cysignals/default.nix
index c1f85ce75ac..1cd55acdbeb 100644
--- a/pkgs/development/python-modules/cysignals/default.nix
+++ b/pkgs/development/python-modules/cysignals/default.nix
@@ -31,12 +31,13 @@ buildPythonPackage rec {
     export PATH="$out/bin:$PATH"
   '';
 
-  buildInputs = lib.optionals pariSupport [
-    pari
-  ];
-
   propagatedBuildInputs = [
     cython
+  ] ++ lib.optionals pariSupport [
+    # When cysignals is built with pari, including cysignals into the
+    # buildInputs of another python package will cause cython to link against
+    # pari.
+    pari
   ];
 
   enableParallelBuilding = true;