From: Mekeor Melire <mekeor.melire@gmail.com>
To: help-guix@gnu.org
Subject: unset GHC_PACKAGE_PATH for cabal-install
Date: Sat, 21 Jan 2017 03:21:57 +0100 [thread overview]
Message-ID: <20170121032157.12a6bf42@gmail.com> (raw)
How to use cabal-install in GuixSD? `cabal install` leads to an error
saying its incompatible with GHC_PACKAGE_PATH variable:
$ cabal install hascal
Config file path source is default config file.
Config file /home/mekeor/.cabal/config not found.
Writing default configuration to /home/mekeor/.cabal/config
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).
So, my question is: Is it fine, to just temporarily `unset
GHC_PACKAGE_PATH` variable before running cabal-install? What's the
disadvantage?
next reply other threads:[~2017-01-21 2:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-21 2:21 Mekeor Melire [this message]
2017-01-21 14:28 ` unset GHC_PACKAGE_PATH for cabal-install Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170121032157.12a6bf42@gmail.com \
--to=mekeor.melire@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).