pandoc: install man pages from pandoc-cli tarball
The pandoc man pages moved from pandoc to pandoc-cli, so we need to
install them elsewhere. The install script for this was emitted by
cabal2nix which we now stop doing for pandoc >= 3.1.10 (so
haskellPackages.pandoc still has man pages). Instead we manually add an
override where it matters to us, namely
pkgs.pandoc (haskellPackages.pandoc-cli is lacking them now, not sure if
we need to care).
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
and maintainers/scripts/haskell/regenerate-hackage-packages.sh.
Add capability to update to an out of date solver in update-stackage.sh.
This reverts commit 2e7f09c390.
Reason for revert: Due to all-cabal-hashes not updating, we can't at the
moment get a more up to date hackage database the normal way. Let's
revert to the old state, so we can keep working on what we have until a
more up to date snapshot is available.
We're opting for the strategy of providing the most up to date version
llvm-ffi supports which works out well enough, as nixpkgs also tries to
be quite up to date with its LLVM version (and also uses LLVM 16 as the
default).
Files like `pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix`
assume `ghc` always has an `llvmPackages` attribue. Let's expose `null`
value from `ghcjs` to allow it's propagation.
This fixes package evaluation for `ghcjs` packages.
`haskell.packages.ghc865Binary` has a few packages that fails to evaluate
by referring non-existent attributes. This turns evaluation attempts into
unrecoverable errors.
Before the change an attempt to instantiate all `ghc810` packages failed
as:
$ nix-instantiate --strict --eval --expr 'with import ./. {}; lib.mapAttrs (n: v: builtins.tryEval (lib.isDerivation v)) haskell.packages.ghc865Binary'
error:
… while evaluating the attribute 'llvmPackages'
at lib/attrsets.nix:1180:11:
1179| attrs:
1180| attrs // { recurseForDerivations = false; };
| ^
1181|
error: value is null while a set was expected
The change follows definition of `pkgs/top-level/haskell-packages.nix`
and also sets `llvmPackages` to `null`. While at it dropped other
references to deleted packages like `exceptions` pin.
`haskell.packages.ghc810` has a few packages that fails to evaluate by
referring non-existent attributes. This turns evaluation attempts into
unrecoverable errors.
Before the change an attempt to instantiate all `ghc810` packages failed
as:
$ nix-instantiate --strict --eval --expr 'with import ./. {}; lib.mapAttrs (n: v: builtins.tryEval (lib.isDerivation v)) haskell.packages.ghc810'
error:
error: attribute 'stylish-haskell_0_14_3_0' missing
at pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix:114:33:
113| hlint = self.hlint_3_4_1;
114| stylish-haskell = doJailbreak self.stylish-haskell_0_14_3_0;
| ^
115|
Did you mean stylish-haskell_0_14_4_0?
The change drops overrides that refer non-existent packages.