Closed davidsd closed 6 years ago
I figured out that the problem is that I'm using a sandbox, so the build
directory is not in the expected place: instead of dist/build
, it's at dist/dist-sandbox-d514e406/build
. Here's the problematic code in Setup.hs
:
getDist = do
-- let Flag relDistDir = Flag defaultDistPref `mappend` configDistPref flags
-- canonicalizePath relDistDir
canonicalizePath "dist" -- ugly. There must be a safer way to get the absolute path of the dist dir
How should this work in the case of a sandbox?
fixed by https://github.com/ekmett/rounded/pull/27 merge
I just cloned the latest version of
rounded
and I'm trying to build it with Cabal 1.22 and GHC 7.8.3. After installing dependencies, upon runningcabal install
I getI'm on a rather large machine -- it has 132 GB of RAM, so I'm confused about how an out-of-memory problem could happen. Any suggestions?