diff --git a/flake.nix b/flake.nix index ed2b09e..f243873 100644 --- a/flake.nix +++ b/flake.nix @@ -31,9 +31,7 @@ # Custom function to filter out sphinx when Python version is < 3.11 filterSphinxForOldPython = packages: - if isPython311OrHigher - then packages - else builtins.filter (p: p.pname or "" != "sphinx") packages; + builtins.filter (p: p.pname or "" != "sphinx") packages; # Base Python packages that are always included basePackages = ps: with ps; [