We made an effort to support ghcide in Nixpkgs, but the complexity of the
problem is a bit too high, IMHO. We need to keep older versions of several
packages around in order to satisfy the build requirements, and some of those
older packages don't even build themselves (like hie-bios). We had ghcide
working at some point, but then it was broken again right away after a couple
of days. I fear that we'll run into that issue again and again with a setup of
that complexity.
Instead, I'd propose that we work with upstream to fix their build, i.e. let's
make sure that the proper ghcide build works with recent versions of its build
inputs.
Closes https://github.com/NixOS/nixpkgs/pull/75449.
Closes https://github.com/NixOS/nixpkgs/pull/76103.
This PR fixes dhall_1_28_0, dhall-bash_1_0_25, and dhall-json_1_6_0 so
they build.
They all require a newer version of prettyprinter than we get from the
LTS package set.
This is from https://github.com/NixOS/nixpkgs/pull/75931 by @ijaketak.
Co-authored-by: Keito Kajitani <ijaketak@gmail.com>
haskellPackages.glirc is a "Console IRC Client." I've added a doJailbreak
to fix the build (thanks @infinisil) and added it to top-level/all-packages.nix
so people can find and install it as they would normally.
Would be nice to make this build in a way that allows the OTR extension to be
enabled. One thing at a time....
The build requires Cabal 3.x at setup-time and I can't make
it work easily for reasons I don't understand. Fixing that
package is going to need more time.
- polysemy-plugin was broken due to failing doctests:
https://github.com/NixOS/nixpkgs/issues/71164.
- I submitted a PR upstream to fix this:
https://github.com/polysemy-research/polysemy/pull/265.
- I've applied the patch of the PR here and moved the default
"polysemy" attribute to "polysemy_1_2_0_0" because polysemy-plugin
requires "polysemy >= 1.2.0.0".
- Move default "polysemy-zoo" attribute to "polysemy-zoo_0_6_0_1"
because it is fixed by the polysemy-plugin changes and fixes issues
with building "polysemy-RandomFu" and "knit-haskell".
- Removed packages no longer broken from
"configuration-hackage2nix.yaml".
- Add cabal-doctest to setupDepends of polysemy-plugin.