qtbase-setup-hook: add wrapQtAppsNoGuiHook to error message
Co-authored-by: eclairevoyant <contactmeongithubinstead@proton.me>
This commit is contained in:
committed by
Artturin
co-authored by
eclairevoyant
parent
ff6a0848ca
commit
9501a20539
@@ -75,9 +75,9 @@ else # Only set up Qt once.
|
||||
fi
|
||||
|
||||
qtPreHook() {
|
||||
# Check that wrapQtAppsHook is used, or it is explicitly disabled.
|
||||
# Check that wrapQtAppsHook/wrapQtAppsNoGuiHook is used, or it is explicitly disabled.
|
||||
if [[ -z "$__nix_wrapQtAppsHook" && -z "$dontWrapQtApps" ]]; then
|
||||
echo >&2 "Error: wrapQtAppsHook is not used, and dontWrapQtApps is not set."
|
||||
echo >&2 "Error: neither wrapQtAppsHook nor wrapQtAppsNoGuiHook are used, and dontWrapQtApps is not set either."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user