fix: python versions

This commit is contained in:
Moritz Böhme 2024-06-19 09:25:17 +02:00
parent 4dd2b63b9a
commit c3bec6a16d
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

@ -8,7 +8,7 @@ with lib;
let let
cfg = config.my.programs.python; cfg = config.my.programs.python;
pythonVersions = map (version: "3${toString version}") (range 8 11); pythonVersions = map (version: "3${toString version}") (range 8 13);
enabledVersions = filterAttrs (_: value: value.enable) cfg.versions; enabledVersions = filterAttrs (_: value: value.enable) cfg.versions;
pythonPackages = version: attrNames pkgs."python${version}Packages"; pythonPackages = version: attrNames pkgs."python${version}Packages";