FS#56927 - cabal-install seems broken: Could not find module ‘Prelude’ despite changing defaults
Attached to Project:
Arch Linux
Opened by Maciej Piechotka (Uzytkownik) - Tuesday, 02 January 2018, 13:40 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 05 January 2018, 08:17 GMT
Opened by Maciej Piechotka (Uzytkownik) - Tuesday, 02 January 2018, 13:40 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 05 January 2018, 08:17 GMT
|
Details
When I try to install some packages
% cabal install ... distributive-0.5.3-L7CArquUCblDevaNgAwzQR failed during the configure step. The exception was: dieVerbatim: user error (cabal: '/usr/bin/ghc' exited with an error: /tmp/cabal-tmp-5583/distributive-0.5.3/dist/dist-sandbox-124d64f/setup/setup.hs:4:8: error: Could not find module ‘Prelude’ There are files missing in the ‘base-4.10.1.0’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. | 4 | module Main (main) where | ^^^^ % grep -P '(library-vanilla|shared|executable-dynamic)' ~/.cabal/config library-vanilla: False shared: True executable-dynamic: True community/ghc 8.2.2-1 [installed] The Glasgow Haskell Compiler |
This task depends upon
Closed by Doug Newgard (Scimmia)
Friday, 05 January 2018, 08:17 GMT
Reason for closing: Not a bug
Additional comments about closing: Everything from the repos has to be done dynamically now
Friday, 05 January 2018, 08:17 GMT
Reason for closing: Not a bug
Additional comments about closing: Everything from the repos has to be done dynamically now