How to override a module in nix mesa-git (both a merge request / path and latest commit)

basically I want to override mesa-git module here:
I need to use my own package to test this merge request: Sign in · GitLab
basically I reported a problem so I’m responsible for testing that mr
I want something like this basically

chaotic.mesa-git.package = pkgs.mesa-git.overrideAttrs={

I need to test both latest commit and that mr as soon as possible so yeah help
I’m asking this question in a bunch of places all over the nix community
I hope it doesn’t take long to answer if no one has answered my question by the time
I find a solution I’ll make sure to post it here since here is the only place that will be scraped by google