cmake: fix grep in setupHook

This produced a warning:

> grep: Invalid range end

In a [], - has to come last.

Reported-by: Daniël de Kok <me@danieldk.eu>
Fixes: 75fdc1ced6c

+1 -1
+1 -1
pkgs/development/tools/build-managers/cmake/setup-hook.sh
··· 77 fi 78 # The argument sometimes contains garbage or variable interpolation. 79 # When that is the case, let’s fall back to the derivation name. 80 - if [[ -z "$shareDocName" ]] || echo "$shareDocName" | grep -q '[^a-zA-Z0-9_-+]'; then 81 if [[ -n "${pname-}" ]]; then 82 shareDocName="$pname" 83 else
··· 77 fi 78 # The argument sometimes contains garbage or variable interpolation. 79 # When that is the case, let’s fall back to the derivation name. 80 + if [[ -z "$shareDocName" ]] || echo "$shareDocName" | grep -q '[^a-zA-Z0-9_+-]'; then 81 if [[ -n "${pname-}" ]]; then 82 shareDocName="$pname" 83 else