to clarify, the stackage build server builds with cabal-install,
To further clarify, the stackage build server builds with runghc Setup configure
, runghc Setup build
, etc. 100% of the time, Setup.hs is cabal's defaultMain or some other use of Cabal, but in theory, it could be anything.
stack build cabal-install
should work correctly for people that are sticking to stackage defaults.
resolv
and other missing deps back into the build plans anyways. Assuming it is compatible and all. Not sure how difficult it would be to detect which conditional dependencies we could harmlessly include automatically, but we can for sure include them on a case-by-case basis as needs arise, such as this.
Hi, I can't install the package unix with with the following command:stack build --copy-compiler-tool unix.
When I tried this, nothing happened.
I have Mac Sierra and I would expect the unix-2.7.2.2 version to be installed. My GHC version is 8.6.4.
Thanks in advance.
stack test
tuning? My issue is, I am trying to speed up the builds using Gitlab pipelines. I am successfully using cache with stack-root and system-ghc. But when running tests, stack does not "see" that parameter ( system-ghc) and installs ghc in sandbox to default path /root/.stack/.
stack --system-ghc --stack-root ${CI_PROJECT_DIR}/.stack test --verbose