Add patched xmppc package that supports password file

This commit is contained in:
clerie 2024-12-17 16:54:59 +01:00
parent 2e42778d2c
commit 4bfa8ec27b

View File

@ -6,6 +6,20 @@
packages.x86_64-linux = let packages.x86_64-linux = let
pkgs = import nixpkgs { pkgs = import nixpkgs {
system = "x86_64-linux"; system = "x86_64-linux";
overlays = [
(final: prev: {
xmppc = prev.xmppc.overrideAttrs (finalAttrs: prevAttrs: {
version = prevAttrs.version + "-password-file";
patches = [
(final.fetchpatch {
# read password from file
url = "https://codeberg.org/Anoxinon_e.V./xmppc/pulls/38.patch";
hash = "sha256-gAD0mfuvqqC7AFtMdtbW+tJiD1F9tOP6/E0eJayDXqc=";
})
];
});
})
];
}; };
in { in {
solid-xmpp-alarm = pkgs.rustPlatform.buildRustPackage rec { solid-xmpp-alarm = pkgs.rustPlatform.buildRustPackage rec {