Another year, another exhausting undermoderated thread full of people
arguing against being an inclusive community, tone policing and denying
that discriminatory behaviour even exists.
This clearly isn't getting any better and I'm embarrassed that I stayed
around for this long. I can't continue to lend my name to such a
project.
Dependency on the Paths_ module has been removed upstream for the next
(unreleased) version already.
Until we can update, apply the patch manually.
Resolves#347885
This has been closed and merged since v11 already - but the bounds are
still too strict.
The only way forward is to figure out how to upgrade to the latest
version.
For Cabal, using a more recent version of process is practically never
necessary since it has support for a very wide range. The process
override is a relic from when we were testing cabal-install with all GHC
versions. cabal-install(-solvers) needs directory >=1.3.7.0 which in
turn needs a recent version of process to work. Consequently, the used
Cabal version needed to use the same process version or we'd have
inconsistent dependencies when building cabal-install. Since we only
support cabal-install with GHCs that ship new enough versions of both
process and directory out of the box, we can drop these overrides.
http-semantics is a package implementing some logic common between http2
and http3. There aren't matching releases of the latter packages for
http-semantics == 0.3.* yet.
- crypton is maintained, contrary to cryptonite
- since the Hackage scrypt package uses SSE2, we can't build it on
non-x86 platforms (non x86_64 even probably). The best option
is to disable the Scrypt module. To prevent cabal from pulling
in scrypt in spite of that, we need to patch build-depends to
respect the flag.
Allow setting `sourceRoot` and `setSourceRoot` in the arguments to
`haskellPackages.mkDerivation`. These arguments are passed directly to
`stdenv.mkDerivation`.
It may be worth reading over `pkgs/stdenv/generic/setup.sh` and checking
if there's other unsupported variables which may be useful. It may also
be worth adding an argument like `extraAttrs` to be passed to
`stdenv.mkDerivation` directly, as an escape hatch.