@ -65,7 +65,7 @@ in {
unitConfig.Documentation = [ "man:lircd(8)" ];
serviceConfig = {
RuntimeDirectory = "lirc";
RuntimeDirectory = ["lirc" "lirc/lock"];
# Service runtime directory and socket share same folder.
# Following hacks are necessary to get everything right:
@ -42,6 +42,7 @@ stdenv.mkDerivation rec {
"--with-systemdsystemunitdir=$(out)/lib/systemd/system"
"--enable-uinput" # explicit activation because build env has no uinput
"--enable-devinput" # explicit activation because build env has no /dev/input
"--with-lockdir=/run/lirc/lock" # /run/lock is not writable for 'lirc' user
];
installFlags = [