charybdis: fix motd

without this change, it looks for motd in the etc/ inside the store path, so services.charybdis.motd ends up having no effect
This commit is contained in:
nyanotech 2021-01-18 05:05:01 +00:00
parent bfa65d757a
commit 6a5e88d0f8
No known key found for this signature in database
GPG key ID: A643D493032AC852

View file

@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
postPatch = ''
substituteInPlace include/defaults.h --replace 'PKGLOCALSTATEDIR "' '"/var/lib/charybdis'
substituteInPlace include/defaults.h --replace 'ETCPATH "' '"/etc/charybdis'
'';
autoreconfPhase = "sh autogen.sh";