ddccontrol: install systemd service
This commit is contained in:
parent
00c86ad146
commit
27b9fe1e53
|
@ -34,6 +34,10 @@ stdenv.mkDerivation rec {
|
||||||
ddccontrol-db
|
ddccontrol-db
|
||||||
];
|
];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system"
|
||||||
|
];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
oldPath="\$""{datadir}/ddccontrol-db"
|
oldPath="\$""{datadir}/ddccontrol-db"
|
||||||
newPath="${ddccontrol-db}/share/ddccontrol-db"
|
newPath="${ddccontrol-db}/share/ddccontrol-db"
|
||||||
|
|
Loading…
Reference in a new issue