* unset GHC_PACKAGE_PATH for cabal-install
@ 2017-01-21 2:21 Mekeor Melire
2017-01-21 14:28 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Mekeor Melire @ 2017-01-21 2:21 UTC (permalink / raw)
To: help-guix
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: unset GHC_PACKAGE_PATH for cabal-install
2017-01-21 2:21 unset GHC_PACKAGE_PATH for cabal-install Mekeor Melire
@ 2017-01-21 14:28 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-01-21 14:28 UTC (permalink / raw)
To: Mekeor Melire; +Cc: help-guix
Hi Mekeor,
I’ll let Haskell-savvy people answer your question, but my suggestion
would be to consider using Guix instead of Cabal. :-)
There’s currently 275 Haskell packages in Guix, ‘guix import’ should be
able to help you add more, and ‘guix refresh’ can update the existing
ones.
My 2¢,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-21 14:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-21 2:21 unset GHC_PACKAGE_PATH for cabal-install Mekeor Melire
2017-01-21 14:28 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.