To be fair to Dependabot, Nix isn't supported, so I'm not sure how the PRs could be right?
FWIW, I don't think security updates are turned on by default anymore, so new repos won't have this problem.
That's the problem it tried to update dependencies without touching nix which would messed up the build. It assumed it knew how to update it, but did it wrong.