Merge pull request #108057 from lourkeur/brave-installCheck
brave: test rpath in installCheck
This commit is contained in:
commit
815bfe3cb6
@ -98,6 +98,7 @@ stdenv.mkDerivation rec {
|
|||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
|
doInstallCheck = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ dpkg wrapGAppsHook ];
|
nativeBuildInputs = [ dpkg wrapGAppsHook ];
|
||||||
|
|
||||||
@ -147,6 +148,11 @@ stdenv.mkDerivation rec {
|
|||||||
ln -sf ${xdg_utils}/bin/xdg-mime $out/opt/brave.com/brave/xdg-mime
|
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;
|
passthru.updateScript = ./update.sh;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user