title: Can't install cabal by stack
body: <p>when I want to install cabal by stack, an error occured:</p>
  
  <p>=================<br>
  ~$ stack install cabal</p>
  
  <p>Error: While constructing the build plan, the following exceptions were
  encountered:</p>
  
  <p>In the dependencies for cabal-0.0.0.0:
      youProbablyWantCapitalCabal must match &lt;0 &amp;&amp; >1, but the stack configuration
                                  has no specified version (no package with that
                                  name found, perhaps there is a typo in a
                                  package's build-depends or an omission from the
                                  stack.yaml packages list?)
  needed since cabal is a build target.</p>
  
  <p>Some different approaches to resolving this:</p>
  
  <ul>
  <li>Consider trying 'stack solver', which uses the cabal-install solver to
  attempt to find some working build configuration. This can be convenient
  when dealing with many complicated constraint errors, but results may be
  unpredictable.</li>
  </ul>
  
  <p>Plan construction failed.   </p>
  
  <p>=================<br>
  Then I try to use <code>stack solver</code> to solve it following the hint. But it still failed:</p>
  
  <p>=================<br>
  ~$ stack solver<br>
  Using configuration file: stack.yaml<br>
  Using cabal packages:<br>
  - cabel/  </p>
  
  <p>No changes needed to stack.yaml</p>
  
  <p>=================<br>
  It seems that I should configured the stack.yaml. But What should I Do? Thanks in advance.</p>