How to properly add patches in Nixpkgs?

Hello,

I’m proposing a PR that incorporates updates to the CONTRIBUTING.md file. The changes include a new section “Including patches”, dedicated to best practices for adding patches to Nixpkgs.

I believe this additional guidance will help enhance our code quality and consistency, ultimately making our collaboration more efficient. I encourage you to share your thoughts and feedback on these changes.

Here’s the link to the PR: https://github.com/NixOS/nixpkgs/pull/246766

Looking forward to your reviews and comments.

7 Likes