- overrideDerivation is used to override the call to derivation
- overrideAttrs is used to override the call to stdenv.mkDerivation
- override is used to override the last function call. Often this will be the callPackage call.
- overridePythonAttrs is used to override the call to buildPython*.
This PR NixOS/nixpkgs#46842 discusses the idea to have a generic overrideArgs
that works like overridePythonAttrs
for all language infrastructures.