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
1 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,12 @@ mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake qttools ];
|
||||
|
||||
# No tests are available by upstream, but we test --help anyway
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/syncthingtray --help | grep ${version}
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
# See https://github.com/Martchus/syncthingtray/issues/42
|
||||
"-DQT_PLUGIN_DIR:STRING=${placeholder "out"}/lib/qt-5"
|
||||
|
|
Loading…
Reference in a new issue