self: super: { sourcehut = super.sourcehut // { python = super.lib.fix (py: super.sourcehut.python.override (old: { self = py; packageOverrides = super.lib.composeExtensions old.packageOverrides (pself: psuper: { srht = psuper.srht.overrideAttrs (oldAttrs: rec { patches = (oldAttrs.patches or []) ++ [ sourcehut/coresrht.patch ]; }); } ); })); srht = super.sourcehut.srht.overrideAttrs (oldAttrs: rec { patches = (oldAttrs.patches or []) ++ [ sourcehut/coresrht.patch ]; }); }; }