Reflex uses hlint in its test suite, failing the build if there are
any lint warnings. hlint depends on a newer haskell-src-exts than the
rest of the nixpkgs haskell infrastructure, so this avoids reflex
dependening on multiple versions of haskell-src-exts, which would
otherwise abort the build.
- jailbreak-cabal override isn't needed, shared executables are disabled
by default (or is this precautionary?)
- Removed and added some infinite recursion overrides, moved them to
configuration-nix.nix
- Unbreak zstd and attparsec-varword
- mysql override is already in configuration-nix.nix
- Move some overrides for disabling tests due to internet connectivity
to configuration-nix.nix
Closes https://github.com/NixOS/nixpkgs/pull/62407.
Until now this broke on `enableSeparateDocOutput = false`,
as then `$doc` was not defined so it tried to copy stuff to
`/share/doc/servant`.
Fixes regression introduced in commit be63b1994d.
- The previous build of Cryptol was broken on GHC 8.6.x, which is now the
new default. That's been fixed with a few upstream patches that will come
up whenever the next release happens.
- There was also a build failure on base-compat, fixed by jailbreaking.
- The previous setup had all-packages.nix creating a new derivation
solely for the purpose of wrapping the Z3 binary. This has been removed:
the wrapper is still added but during the Haskell build itself, so that
all Haskell dependent packages can use the cryptol interpreters too.
- In its place, we use justStaticExecutables, so people using nix-env
and Cryptol users who *don't* need haskell dependencies can get much
smaller closures. Obviously this still implies a second build, but
this build is much more useful than one that merely adds a shell
script to a package that's relatively expensive to compile...
Signed-off-by: Austin Seipp <aseipp@pobox.com>