qt6.wrapQtAppsHook: pretty error on missing buildInputs
This commit is contained in:
parent
1fb721156a
commit
b182d552d5
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue