top-level/packages-info: add pname fallback#480323
top-level/packages-info: add pname fallback#480323wolfgangwalther merged 2 commits intoNixOS:masterfrom
Conversation
A recent change broke the repology updater, because it relies on pname and version fields. We can fallback to *some* values temporarily, but the right fix is to make sure pname is available on all packages in Nixpkgs. That effort is ongoing, once it is complete, we should remove the fallbacks.
|
Note: |
|
We can probably refactor things, but I believe |
|
Added a commit to reflect that - tarball creation still passes for me, so should be good. |
|
Actually the same is true for |
ae30361 to
9966833
Compare
jopejoe1
left a comment
There was a problem hiding this comment.
Thanks, linter fails due to formating, but otherwise this looka good to merge for me.
These will always be set on derivations produced by mkDerivation, so no need for the conditional code paths.
9966833 to
f928402
Compare
|
Thank you! |
This reverts commit ceb86e4. This resolves repology#1565 because NixOS/nixpkgs#480323 has been merged as a workaround to provide pname and version for packages lacking their explicit definition.
This reverts commit ceb86e4. This resolves #1565 because NixOS/nixpkgs#480323 has been merged as a workaround to provide pname and version for packages lacking their explicit definition.
|
Is there a particular reason why put in these weird values of |
I don't think there is a good reason for that, no. Using |
A recent change broke the repology updater, because it relies on pname and version fields. We can fallback to some values temporarily, but the right fix is to make sure pname is available on all packages in Nixpkgs. That effort is ongoing, once it is complete, we should remove the fallbacks.
Fixes #451424 (comment)
Related: repology/repology-updater#1565
Things done
Add a 👍 reaction to pull requests you find important.