syncthingtray: test --help in installCheckPhase
To spare the need to test this package every time @r-ryantm updates it, make sure it passes this sanity test.
This commit is contained in:
parent
74bf0fafd5
commit
d8fc7deb69
@ -39,6 +39,12 @@ mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake qttools ];
|
nativeBuildInputs = [ cmake qttools ];
|
||||||
|
|
||||||
|
# No tests are available by upstream, but we test --help anyway
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckPhase = ''
|
||||||
|
$out/bin/syncthingtray --help | grep ${version}
|
||||||
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
# See https://github.com/Martchus/syncthingtray/issues/42
|
# See https://github.com/Martchus/syncthingtray/issues/42
|
||||||
"-DQT_PLUGIN_DIR:STRING=${placeholder "out"}/lib/qt-5"
|
"-DQT_PLUGIN_DIR:STRING=${placeholder "out"}/lib/qt-5"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user