fix: package license causing hydra eval fails #30

Merged
vlinkz merged 1 commit from austreelis/fix/license-eval into main 2025-10-03 05:15:40 +00:00 AGit
Member

Difference in license attrset schema between lib and tidepool caused eval fails, as in here.

This PR changes tidepool's scheme to align it with lib:

❯ nix eval -f tidepool packages.foundation.bash.latest.meta.license --json | jq
{
  "free": true,
  "fullName": "GNU General Public License v3.0 or later",
  "name": "gpl3Plus",
  "redistributable": true,
  "spdxId": "GPL-3.0-or-later",
  "url": "https://spdx.org/licenses/GPL-3.0-or-later.html"
}

I kinda liked the previous schema of tidepool, but it's a lower impact fix than bumping lib's major, and I think we want to think more about licenses in lib (e.g. it would probably make sense to move tidepool's license type there to avoid dupplicating the code for the default behavior).

Difference in license attrset schema between lib and tidepool caused eval fails, as in [here](https://hydra.aux-cache.dev/jobset/aux/tidepool#tabs-errors). This PR changes tidepool's scheme to align it with lib: ```console ❯ nix eval -f tidepool packages.foundation.bash.latest.meta.license --json | jq { "free": true, "fullName": "GNU General Public License v3.0 or later", "name": "gpl3Plus", "redistributable": true, "spdxId": "GPL-3.0-or-later", "url": "https://spdx.org/licenses/GPL-3.0-or-later.html" } ``` I kinda liked the previous schema of tidepool, but it's a lower impact fix than bumping lib's major, and I think we want to think more about licenses in lib (e.g. it would probably make sense to move tidepool's license type there to avoid dupplicating the code for the default behavior).
austreelis added 2 commits 2025-10-02 21:02:20 +00:00
austreelis force-pushed austreelis/fix/license-eval from 13bd80804e to a7513906e1 2025-10-02 21:07:51 +00:00 Compare
vlinkz approved these changes 2025-10-03 05:15:19 +00:00
vlinkz merged commit 8ffc63ae42 into main 2025-10-03 05:15:40 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: auxolotl/labs#30
No description provided.