From 25d75455b87bc01edd0825a93e8b859d1e049f6e Mon Sep 17 00:00:00 2001 From: Liam Murphy Date: Tue, 28 Oct 2025 13:46:29 +1100 Subject: [PATCH] sagelib: remove unused deps ratpoints 2.2.2 fails to build with Clang; it would be relatively easy to fix (by either updating https://github.com/sagemath/sage/blob/1615f58890e8f9881c4228c78a6b39b9aab1303a/build/pkgs/ratpoints/patches/sturm_and_rp_private.patch or using gccStdenv), but Sage dropped the dependency 3 years ago, so drop the dependency here too. While I was at it, I also dropped all the other dependencies which seem to be unused (by looking at https://github.com/sagemath/sage/commits/10.7/build/pkgs/sagelib/dependencies). --- pkgs/by-name/sa/sage/sagelib.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkgs/by-name/sa/sage/sagelib.nix b/pkgs/by-name/sa/sage/sagelib.nix index 7964c4b8fa25..f9a30e5c3159 100644 --- a/pkgs/by-name/sa/sage/sagelib.nix +++ b/pkgs/by-name/sa/sage/sagelib.nix @@ -13,7 +13,6 @@ gd, iml, libpng, - readline, blas, boost, brial, @@ -23,7 +22,6 @@ fflas-ffpack, flint, gap, - giac, givaro, glpk, gsl, @@ -44,7 +42,6 @@ planarity, ppl, rankwidth, - ratpoints, singular, sqlite, symmetrica, @@ -60,7 +57,6 @@ ipykernel, ipython, ipywidgets, - jinja2, jupyter-client, jupyter-core, lrcalc-python, @@ -117,7 +113,6 @@ buildPythonPackage rec { gd iml libpng - readline ]; env = lib.optionalAttrs stdenv.cc.isClang { @@ -138,7 +133,6 @@ buildPythonPackage rec { fflas-ffpack flint gap - giac givaro glpk gsl @@ -159,7 +153,6 @@ buildPythonPackage rec { planarity ppl rankwidth - ratpoints singular sqlite symmetrica @@ -177,7 +170,6 @@ buildPythonPackage rec { ipykernel ipython ipywidgets - jinja2 jupyter-client jupyter-core lrcalc-python