With stack version 2.7.3, ghc-options declarations need to be a string in `stack.yaml` but an array of strings in a snapshot/resolver definition. The current parser can only deal with the former.