ddccontrol: install systemd service

(cherry picked from commit 27b9fe1e53e0ce21f29cc4c351db67911f941017)
This commit is contained in:
Jan Tojnar 2021-07-08 21:29:39 +02:00 committed by Dmitry Kalinkin
parent 46f9b120e8
commit 24ca69c906

View File

@ -34,6 +34,10 @@ stdenv.mkDerivation rec {
ddccontrol-db
];
configureFlags = [
"--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system"
];
prePatch = ''
oldPath="\$""{datadir}/ddccontrol-db"
newPath="${ddccontrol-db}/share/ddccontrol-db"