diff --git a/flake.nix b/flake.nix index ed73265..5855107 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,20 @@ packages.x86_64-linux = let pkgs = import nixpkgs { 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 { solid-xmpp-alarm = pkgs.rustPlatform.buildRustPackage rec {