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.
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 expectsagpl3
to exist inlib.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 inlib.license
, so a change like this won't break nixpkgs-hammering.