summaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters/python/editable.nix
AgeCommit message (Collapse)Author
2025-01-10Fix optional-dependencies in mkPythonEditablePackagePalmer Cox
The problem is that optional-dependencies looks something like: optional-dependencies = { extra1 = [ package1 package2 ]; }; And the goal is to transform that into some JSON that works as a pyproject file. So, its supposed to look something like: { "optional-dependencies": { "extra1": [ "package1" "package2" ] } } Previously, we were trying to do that converstion with: optional-dependencies = lib.mapAttrs (_: lib.getName) optional-dependencies; The problem is that we're calling lib.getName on the array of dependencies. Instead, we convert the code to call lib.getName on each individual dependency in the array.
2024-09-08python3Packages.mkPythonEditablePackage: initadisbladis