diff --git a/pkgs/development/libraries/lirc/default.nix b/pkgs/development/libraries/lirc/default.nix index 86f592dd3a01..9654dea3725d 100644 --- a/pkgs/development/libraries/lirc/default.nix +++ b/pkgs/development/libraries/lirc/default.nix @@ -25,7 +25,10 @@ stdenv.mkDerivation rec { makeFlags = [ "m4dir=$(out)/m4" ]; - installFlags = [ "sysconfdir=\${out}/etc" ]; + installFlags = [ + "sysconfdir=\${out}/etc" + "localstatedir=\${TMPDIR}" + ]; meta = with stdenv.lib; { description = "Allows to receive and send infrared signals";