]> Git — Sourcephile - sourcephile-nix.git/blob - nixpkgs/overlays/sourcehut.nix
mermet: prosody: more advanced configuration
[sourcephile-nix.git] / nixpkgs / overlays / sourcehut.nix
1 self: super: {
2 sourcehut = super.sourcehut // {
3 python = super.lib.fix (py: super.sourcehut.python.override (old: {
4 self = py;
5 packageOverrides = super.lib.composeExtensions old.packageOverrides
6 (_pself: psuper:
7 {
8 srht = psuper.srht.overrideAttrs (oldAttrs: rec {
9 patches = (oldAttrs.patches or [ ]) ++ [
10 sourcehut/coresrht.patch
11 ];
12 });
13 }
14 );
15 }));
16 srht = super.sourcehut.srht.overrideAttrs (oldAttrs: rec {
17 patches = (oldAttrs.patches or [ ]) ++ [
18 sourcehut/coresrht.patch
19 ];
20 });
21 };
22 }