A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/commercialhaskell/stack/issues/3229 below:

stack build [target] no longer works, builds all targets · Issue #3229 · commercialhaskell/stack · GitHub

There is a regression in stack that stack build myexe no longer builds just the executable myexe, but all executables from the package.

Especially projects with many executables, and projects where linking takes a long time suffer from this (both are the case for IOHK's cardano-sl).

The reason according to @mgsloan:

I think this was the result of switching from using runhaskell Setup.hs install to copy + register - f71a515 .
copy fails if it can't find every executable, and there's no way in released cabal to tell it to only copy particular targets. There was a patch well before the most recent cabal release, but for some reason it is only available on master. So, with future cabal this may be fixable.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4