Closed jinjor closed 6 years ago
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
I think the error
cabal: Use of GHC's environment variable GHC_PACKAGE_PATH is incompatible with
Cabal. Use the flag --package-db to specify a package database (it can be used
multiple times).
is related to the fact that stack and cabal generally don't play nice. (BuildFromSource.hs is more or less trying to run a cabal install inside a stack install). I'm currently trying to patch the installer to shut up about all its problems so I can get a working 0.18 install on nix, but a more permanent solution may be to just use stack. It honestly looks like the whole BuildFromSource.hs system could just be replaced by a stack.yaml and a .cabal file.
I don't use stack for various reasons. My workflow is fine, and I'd need to weigh the possible outside benefit against the cost. Right know I do not know that outside benefit at all, so I cannot prioritize this.
Is it possible to build elm-platform from source with Stack?
I'm trying to build elm-platform on MacOS. To get old Haskell environment, I'm using Stack.
After installing Stack, I did the following.
This works almost fine, but
.cabal-sandbox/bin
is not created.Full log is here:
This error seems to be the same as this issue. Has anyone solved it?
I also tried directly running
runghc
without stack, but it took very long. (Is it the right behavior? I could not wait and stoped it...)