wireapp / wire-server

🇪🇺 Wire back-end services
https://wire.com
GNU Affero General Public License v3.0
2.6k stars 327 forks source link

Add weeder (dead code elimination tool) to dev environment #4088

Closed fisx closed 3 weeks ago

fisx commented 1 month ago

https://wearezeta.atlassian.net/browse/WPB-9667

i've run weeder from a PR locally with success (>1400 weeds, but many of them are false positives). now we only need to add that patch to our nix envs. (we should probably not run it on ci for now, until we have fine-tuned weeder.toml and eliminated all the legitimate weed.)

the purpose of this PR is:

the purpose of this PR is NOT:

Checklist

fisx commented 3 weeks ago

This doesn't install the pinned version of weeder, but the one from hackage (2.7).