Force `stack` to rebuild an installed package : <p>I often install a package which depends on external libraries and manage to move those external libraries to other locations afterwards, so that compiled programs exit with a loader error.</p>

<p>In those cases I just want stack to rebuild an already installed package, but I don't see how that is possible. <code>stack install --force-dirty</code> doesn't seem to work, as it just tries to rebuild the project in the current working directory.</p>

<hr>

<p>Recent example:</p>

<p>I'd liked to see whether <code>regex-pcre</code> requires a C library not present on Windows systems, so I hit <code>stack install regex-pcre</code>. That went fine, but then I realized I installed <code>mingw-w64-x86_64-pcre</code> via <code>stack</code>s <code>pacman</code> prior to this. I removed it again via <code>pacman -R</code> and tried to run <code>stack install regex-pcre</code> again, which did not rebuild it. Neither did adding <code>--force-dirty</code> work for the above reason.</p>
