diff options
| author | Palmer Cox <p@lmercox.com> | 2025-01-10 23:16:32 -0500 |
|---|---|---|
| committer | Palmer Cox <p@lmercox.com> | 2025-01-10 23:16:32 -0500 |
| commit | a7f1305bc1500fd406a0c8a339aa9b971f423341 (patch) | |
| tree | 21fa44c1ab2f68d976ae3349504092fc8078062c /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 55e0b798c50eee79abb69936683a2a5f3a58409b (diff) | |
Fix optional-dependencies in mkPythonEditablePackage
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.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
