drawio: add a check phase

This commit is contained in:
DarkOnion0 2022-01-22 17:58:41 +01:00
parent 23507a5d7c
commit b67aa192ba

View File

@ -86,6 +86,12 @@ stdenv.mkDerivation rec {
--replace /opt/drawio/drawio $out/bin/drawio
'';
doInstallCheckPhase = true;
installCheckPhase = ''
$out/bin/drawio --help > /dev/null
'';
meta = with lib; {
description = "A desktop application for creating diagrams";
homepage = "https://about.draw.io/";