1
0

pkgs/overrides/xmppc: patch to read password from file

This commit is contained in:
clerie 2024-12-16 17:31:30 +01:00
parent 75af9b7383
commit cc89b20a2c
3 changed files with 15 additions and 1 deletions

View File

@ -141,7 +141,8 @@
run-with-docker-group run-with-docker-group
ssh-gpg ssh-gpg
update-from-hydra update-from-hydra
uptimestatus; uptimestatus
xmppc;
}); });
inherit lib self; inherit lib self;

View File

@ -22,4 +22,6 @@ final: prev: {
ssh-gpg = final.callPackage ./ssh-gpg {}; ssh-gpg = final.callPackage ./ssh-gpg {};
update-from-hydra = final.callPackage ./update-from-hydra {}; update-from-hydra = final.callPackage ./update-from-hydra {};
uptimestatus = final.python3.pkgs.callPackage ./uptimestatus {}; uptimestatus = final.python3.pkgs.callPackage ./uptimestatus {};
xmppc = import ./overrides/xmppc.nix final prev;
} }

11
pkgs/overrides/xmppc.nix Normal file
View File

@ -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=";
})
];
})