jtojnar / nixpkgs-hammering

Beat your package expressions into a shape
MIT License
241 stars 15 forks source link

Fix unclear license hammer #146

Closed zebreus closed 3 months ago

zebreus commented 3 months ago

Problem

Nixpkgs removed the unclear lib.licenses.agpl3 license three days ago in nixos/nixpkgs@82b45bf4547f4d705663e4d2593ac78e24a5d094 🎉. Sadly this causes nixpkgs-hammering to fail as the unclear license hammer expects agpl3 to exist in lib.licenses.

Fix

This PR fixes that by removing the check for agpl3. It also filters the list with unclear licenses for those that are available in lib.license, so a change like this won't break nixpkgs-hammering.

jtojnar commented 3 months ago

Thank you.