Skip to content

Commit

Permalink
llvmPackages_14.lldb: enable installCheckPhase, add message
Browse files Browse the repository at this point in the history
  • Loading branch information
patryk4815 committed Dec 26, 2022
1 parent 4ac8aa7 commit ebf3779
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/development/compilers/llvm/14/lldb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,15 @@ stdenv.mkDerivation (rec {

doCheck = false;

doInstallCheck = true;

installCheckPhase = ''
if [ ! -e "$lib/${python3.sitePackages}/lldb/_lldb.so" ] ; then
if [ ! -e $lib/${python3.sitePackages}/lldb/_lldb*.so ] ; then
echo "ERROR: python files not installed where expected!";
return 1;
fi
if [ ! -e "$lib/lib/lua/${lua5_3.luaversion}/lldb.so" ] ; then
echo "ERROR: lua files not installed where expected!";
return 1;
fi
'';
Expand Down

0 comments on commit ebf3779

Please sign in to comment.