@@ -98,6 +98,7 @@ stdenv.mkDerivation rec {
9898 dontConfigure = true;
9999 dontBuild = true;
100100 dontPatchELF = true;
101+ doInstallCheck = true;
101102
102103 nativeBuildInputs = [ dpkg wrapGAppsHook ];
103104
@@ -147,6 +148,11 @@ stdenv.mkDerivation rec {
147148 ln -sf ${xdg_utils}/bin/xdg-mime $out/opt/brave.com/brave/xdg-mime
148149 '';
149150
151+ installCheckPhase = ''
152+ # Bypass upstream wrapper which suppresses errors
153+ $out/opt/brave.com/brave/brave --version
154+ '';
155+
150156 passthru.updateScript = ./update.sh;
151157
152158 meta = with stdenv.lib; {