From 4bfa8ec27b99e774906c82e6d51d13b32a3ff161 Mon Sep 17 00:00:00 2001 From: clerie Date: Tue, 17 Dec 2024 16:54:59 +0100 Subject: [PATCH] Add patched xmppc package that supports password file --- flake.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 {