try to use sphinx pre built
This commit is contained in:
parent
232c6cd709
commit
1dbdc958b9
12
flake.nix
12
flake.nix
@ -20,6 +20,15 @@
|
||||
|
||||
# Select Python version based on the parameter
|
||||
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
|
||||
basePackages = ps: with ps; [
|
||||
@ -34,9 +43,6 @@
|
||||
ipython
|
||||
|
||||
# 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user