nimble doesn't work if nim is stored in a path containing whitespaces.
https://github.com/alaviss/setup-nim/runs/1303952464?check_suite_focus=true#step:9:13

The directory the compiler was installed to was `${{ github.workspace }}/dir with space/bin`. It appears to me that `quoteShell` used single quotes, which bypasses this conditional:

https://github.com/nim-lang/nimble/blob/8f7af860c5ce9634af880a7081c6435e1f2a5148/src/nimblepkg/tools.nim#L8-L12