title: 'missing destination file operand' error while attempting 'stack exec install ...'
body: <p>I am attempting to install Hackage's <code>servant-auth-server</code> package using <code>stack exec install servant-auth-server</code>, which has worked for me with other packages.</p>
  
  <p>However, with <code>servant-auth-server</code> I get an error.</p>
  
  <pre><code>$ stack exec install servant-auth-server
  /run/current-system/sw/bin/install: missing destination file operand after 'servant-auth-server'
  Try '/run/current-system/sw/bin/install --help' for more information.
  </code></pre>
  
  <p><strong>What is the cause of this error?</strong></p>
  
  <p><strong>How can I install <code>servant-auth-server</code>?</strong></p>
  
  <hr>
  
  <p>EDIT</p>
  
  <p>Running the command <code>$ stack install servant-auth-server</code> also does not work as shown below.</p>
  
  <pre><code>$ stack install servant-auth-server
  
  Error: While constructing the build plan, the following exceptions were encountered:
  
  In the dependencies for servant-auth-server-0.3.0.0:
      servant-auth must match ==0.2.*, but the stack configuration has no specified version (latest applicable is 0.2.7.0)
  
  Recommended action: try adding the following to your extra-deps in /home/matthew/.stack/global-project/stack.yaml:
  - servant-auth-0.2.7.0
  
  You may also want to try the 'stack solver' command
  Plan construction failed.
  </code></pre>