openrgb: update installCheck

Use $TMPDIR for the home directory to prevent openrgb from aborting.
This commit is contained in:
Aamaruvi Yogamani 2020-12-07 13:56:01 -05:00 committed by Jonathan Ringer
parent 6ba3e0eae2
commit 68d1006cab

View file

@ -22,11 +22,6 @@ mkDerivation rec {
cp 60-openrgb.rules $out/etc/udev/rules.d
'';
doInstallCheck = true;
installCheckPhase = ''
$out/bin/openrgb --help > /dev/null
'';
doInstallCheck = true;
installCheckPhase = ''
HOME=$TMPDIR $out/bin/openrgb --help > /dev/null