try to use sphinx pre built

This commit is contained in:
Arthur Wambst 2025-05-06 13:38:36 +02:00
parent 232c6cd709
commit 1dbdc958b9

View File

@ -20,6 +20,15 @@
# Select Python version based on the parameter # Select Python version based on the parameter
python = pkgs.${pythonVersion}; python = pkgs.${pythonVersion};
handlePackageCompatibility = pythonPackages:
let
fixSphinx = ps:
if ps ? sphinx
then ps.sphinx.override { preferWheel = true; }
else ps.sphinx;
in
pythonPackages;
# Base Python packages that are always included # Base Python packages that are always included
basePackages = ps: with ps; [ basePackages = ps: with ps; [
@ -34,9 +43,6 @@
ipython ipython
# Add more default packages as needed # Add more default packages as needed
sphinx.overridePythonAttrs (old: {
version = "7.2.6"; # Example - use a version compatible with Python 3.10
})
]; ];
# Combine base packages with extra packages # Combine base packages with extra packages