spnavcfg: pidfile in $XDG_RUNTIME_DIR

This commit is contained in:
sohalt
2021-05-22 12:48:58 +02:00
committed by Gabriel Ebner
parent c66caa6a90
commit 6172e51fa9
2 changed files with 46 additions and 0 deletions
@@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "180mkdis15gxs79rr3f7hpwa1p6v81bybw37pzzdjnmqwqrc08a0";
};
patches = [
# Changes the pidfile path from /run/spnavd.pid to $XDG_RUNTIME_DIR/spnavd.pid
# to allow for a user service
./configure-pidfile-path.patch
];
postPatch = ''
sed -i s/4775/775/ Makefile.in
'';