0538d565

By: Tom Sydney Kerckhove <syd@cs-syd.eu>

Remove stack support in favour of cabal

We build with cabal now, so stack.yaml was a second, redundant
description of the project: its extra-deps duplicated flake.nix's inputs
(which are a superset of them), and the nix devShell already supplies
those dependencies, so cabal needs no source-repository-package stanzas
to resolve the project.

stack.yaml was, however, the only thing applying the warning set to
development builds. nix/overrides.nix applies the same list plus -Werror,
but only to nix builds, so deleting stack.yaml on its own would have
quietly left plain cabal builds with GHC's defaults. Move the list into
each package.yaml instead, where it reaches every component and every
build path. The tradeoff is that these flags now ship in the .cabal
files.

Drop the now-dead .stack-work and *.yaml.lock ignores while we are here.

Suite timing

Time to Start Worker time Duration Time to finish Idle
Config 1m28s 1s 1s 1m29s 1m28s
Eval 1m30s 18s 18s 1m48s 1s
Build 1m44s 1m00s 49m07s 50m52s 48m03s
Suite 1m28s 1m19s 49m23s 50m52s 49m32s

Timeline

0s1m40s50m50m10s50m20s50m30s50m50s