inadyn: explicitly set localstatedir & sysconfdir

Otherwise this service will fail to start with:

  inadyn[600988]: No write permission to /nix/store/pw5mi9rcrfwihwp4yr8azn91lvqzh07q-inadyn-2.11.0/var/run, aborting.

Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
This commit is contained in:
Rouven Czerwinski 2023-07-16 10:53:37 +02:00
parent 8acef304ef
commit 6d49e50f5f

View file

@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
buildInputs = [ gnutls libite libconfuse ];
configureFlags = [
"--sysconfdir=/etc"
"--localstatedir=/var"
];
enableParallelBuilding = true;
meta = with lib; {