Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. Need help setting up development environment via ghcup (Sudaraka Wijesinghe) ---------------------------------------------------------------------- Message: 1 Date: Tue, 28 Jul 2020 13:41:33 +0530 From: Sudaraka Wijesinghe <sudar...@sudaraka.org> To: beginners@haskell.org Subject: [Haskell-beginners] Need help setting up development environment via ghcup Message-ID: <20200728081142.de5863280...@mailuser.nyi.internal> Content-Type: text/plain; charset="utf-8" Hi, I have successfully installed `ghc` (8.8.4), `cabal-install` (3.2.0.0) via `ghcup` (0.1.8) and created/build and several example projects without any issues. In one of the projects I want to create a binary distribution tarball. For this I tried using `runhaskell Setup.hs copy` (configure before that) at one of the steps, and got the following error. ``` Configuring my-project-0.1.0.0... Setup.hs: Encountered missing or private dependencies: optparse-applicative ==0.15.* ``` `optparse-applicative` is a dependency of my project and it was installed by `cabal build`. I figured out this is because `cabal-install` and `runhaskell` (or `ghc` or `ghc-pkg`) used different package DBs. - `cabal-install` -> ~/.cabal/store/ghc-8.8.4/ - `runhaskell` -> ~/.ghcup/ghc/8.8.4/lib/ghc-8.8.4/ Is there a was I can make both `cabal-install` and `runhaskell` use the same package DB (or use both of them)? [X-POST: https://www.reddit.com/r/haskellquestions/comments/hydge5/need_help_setting_up_development_environment_via/] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://mail.haskell.org/pipermail/beginners/attachments/20200728/06b575ba/attachment-0001.sig> ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 145, Issue 2 *****************************************