Package Details: ghcid 0.8.7-3

Git Clone URL: (read-only, click to copy)
Package Base: ghcid
Description: GHCi based bare bones IDE
Upstream URL:
Licenses: BSD
Submitter: kodemeister
Maintainer: kodemeister
Last Packager: kodemeister
Votes: 0
Popularity: 0.000000
First Submitted: 2020-06-13 15:00 (UTC)
Last Updated: 2021-10-10 15:32 (UTC)

Latest Comments

george.fst commented on 2021-10-11 22:04 (UTC)

@kodemeister Yep, works now, thanks!

I've been meaning to get in touch with Felix about a few things anyway, so I'll add that to the list. I had just kind of assumed there was some more automated/official process.

kodemeister commented on 2021-10-10 15:58 (UTC)

@george.fst Good catch, thank you for the suggestion! The package is updated. Please try to install again and see if it works for you.

If you prefer to have ghcid in the community repo, feel free to ping Felix Yan or whoever maintains Haskell packages in the official repos.

george.fst commented on 2021-10-08 10:49 (UTC)

As a Haskell developer, I use GHCUP to install GHC and Cabal, since the dynamic linking of the versions in the Arch repositories causes all sorts of pain. I make sure to add $HOME/.ghcup/bin to the start of my PATH, so that I never use the system versions while developing, and I'm still able to continue to install GHC-built binaries such as HLint, Fourmolu, Pandoc etc. via Pacman. I've been meaning to add some text to the GHC wiki about this setup, since I think it's by far the best option these days.

Anyway, with the above setup, this package doesn't work since it uses GHC from PATH when it should be hardcoded to use the one Pacman installs in /bin. Replacing runhaskell with /bin/runhaskell and passing -w /bin/ghc seems to be enough to fix it.

Side note: why isn't this in the community repo with the other Hackage stuff anyway?

kodemeister commented on 2021-06-12 15:21 (UTC)

@openingnow The package is updated, please try to install again. Now build should succeed even if tests have been failed.

openingnow commented on 2021-05-18 12:04 (UTC) (edited on 2021-05-25 13:16 (UTC) by openingnow)

src/Test/Ghcid.hs:93: Expected ["\ESC[32mAll good\ESC[m"], got ["Main.hs:1:1: warning: [-Wmissing-signatures]"," Top-level binding with no type signature: main :: IO ()"," |","1 | main = print 1"," | ^^^^"]

Test fails when additional warnings are enabled at ~/.ghci

carbolymer commented on 2020-08-14 13:40 (UTC)

build fails:

λ Prelude

No files loaded, GHCi is not working properly.
Command: ghci -fno-code -fno-break-on-exception -fno-break-on-error -v1 -ferror-spans -j
      Exception: user error (Require failed to produce results in time, expected: ["Util.hs:1:","`Bob'"])
    Ghcid .ghci:                                           Couldn't run test because test source is missing, test/foo
Couldn't run test because test source is missing, test/bar
    Ghcid Cabal:                                           OKCouldn't run test because test source is missing, test/bar

    Ghcid Stack:                                           OK

2 out of 22 tests failed (31.21s)
Test suite ghcid_test: FAIL
Test suite logged to: dist/test/ghcid-0.8.7-ghcid_test.log
0 of 1 test suites (0 of 1 test cases) passed.
==> ERROR: A failure occurred in check().