Adds upstream patch from b67e514dbb to remove the warnings (which are now errors)
b67e514dbb
https://github.com/NixOS/nixpkgs/issues/145040
It can be useful for future modifications, patches and helper scripts.