diff --git a/flake.nix b/flake.nix index 9ca4456..4dd91e3 100644 --- a/flake.nix +++ b/flake.nix @@ -141,7 +141,8 @@ run-with-docker-group ssh-gpg update-from-hydra - uptimestatus; + uptimestatus + xmppc; }); inherit lib self; diff --git a/pkgs/overlay.nix b/pkgs/overlay.nix index 3bc8eb6..01098cd 100644 --- a/pkgs/overlay.nix +++ b/pkgs/overlay.nix @@ -22,4 +22,6 @@ final: prev: { ssh-gpg = final.callPackage ./ssh-gpg {}; update-from-hydra = final.callPackage ./update-from-hydra {}; uptimestatus = final.python3.pkgs.callPackage ./uptimestatus {}; + + xmppc = import ./overrides/xmppc.nix final prev; } diff --git a/pkgs/overrides/xmppc.nix b/pkgs/overrides/xmppc.nix new file mode 100644 index 0000000..3f01351 --- /dev/null +++ b/pkgs/overrides/xmppc.nix @@ -0,0 +1,11 @@ +final: prev: +prev.xmppc.overrideAttrs (finalAttrs: prevAttrs: { + version = "0.1.2-clerie-custom"; + patches = [ + (final.fetchpatch { + # read password from file + url = "https://codeberg.org/Anoxinon_e.V./xmppc/pulls/38.patch"; + hash = "sha256-gAD0mfuvqqC7AFtMdtbW+tJiD1F9tOP6/E0eJayDXqc="; + }) + ]; +})