Merge pull request #108057 from lourkeur/brave-installCheck

brave: test rpath in installCheck
This commit is contained in:
Daniël de Kok 2021-01-01 13:49:38 +01:00 committed by GitHub
commit 815bfe3cb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,6 +98,7 @@ stdenv.mkDerivation rec {
dontConfigure = true;
dontBuild = true;
dontPatchELF = true;
doInstallCheck = true;
nativeBuildInputs = [ dpkg wrapGAppsHook ];
@ -147,6 +148,11 @@ stdenv.mkDerivation rec {
ln -sf ${xdg_utils}/bin/xdg-mime $out/opt/brave.com/brave/xdg-mime
'';
installCheckPhase = ''
# Bypass upstream wrapper which suppresses errors
$out/opt/brave.com/brave/brave --version
'';
passthru.updateScript = ./update.sh;
meta = with stdenv.lib; {