qt6.wrapQtAppsHook: pretty error on missing buildInputs

This commit is contained in:
Milan Hauth 2022-07-14 12:49:00 +02:00
parent 1fb721156a
commit b182d552d5

View file

@ -22,6 +22,11 @@ qtUnseenHostPath() {
qtHostPathHook() {
qtUnseenHostPath "$1" || return 0
if ! [ -v qtPluginPrefix ]
then
echo "wrapQtAppsHook qtHostPathHook: qtPluginPrefix is unset. hint: add qt6.qtbase to buildInputs"
fi
local pluginDir="$1/${qtPluginPrefix:?}"
if [ -d "$pluginDir" ]
then