nixpkgs/pkgs
Anders Kaseorg 20a63c490f haskellPackages.Agda: Fix build for ghc 8.10.2 → 8.10.3 upgrade
Commit 1998b95adc “haskellPackages:
update default compiler from ghc 8.10.2 to version 8.10.3” broke Agda
because Agda.cabal incorrectly declares a transformers dependency only
for ghc < 8.10.3:

    if impl(ghc >= 8.6.4) && impl(ghc < 8.10.3)
      build-depends: transformers == 0.5.6.2

    if impl(ghc >= 8.4) && impl(ghc < 8.6.4)
      build-depends: transformers == 0.5.5.0

    if impl(ghc < 8.4)
      build-depends: transformers == 0.5.2.0

leading to this error:

    src/full/Agda/Utils/Maybe.hs:13:1: error:
    Could not load module ‘Control.Monad.Trans.Maybe’
    It is a member of the hidden package ‘transformers-0.5.6.2’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
       |
    13 | import Control.Monad.Trans.Maybe
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-01-02 19:58:18 +01:00
..
applications Merge pull request #108126 from Ma27/cleanup-maintained-pkgs 2021-01-02 18:58:26 +01:00
build-support buildRustPackage: add cargoHash for SRI hashes of vendored deps 2020-12-31 11:18:11 +01:00
common-updater
data unifont_upper: 13.0.04 -> 13.0.05 2021-01-01 12:01:59 +01:00
desktops
development haskellPackages.Agda: Fix build for ghc 8.10.2 → 8.10.3 upgrade 2021-01-02 19:58:18 +01:00
games Merge pull request #108062 from siraben/spring-update 2021-01-02 10:57:12 +00:00
misc Merge pull request #106577 from eduardosm/seafile 2021-01-02 13:13:17 +01:00
os-specific Merge pull request #108132 from wmertens/pam_ssh-edcsa-fix 2021-01-01 17:59:21 +01:00
pkgs-lib
servers Merge pull request #108241 from fabaff/schiene 2021-01-02 19:02:35 +01:00
shells oh-my-zsh: 2020-12-31 → 2021-01-01 2021-01-01 16:52:09 -05:00
stdenv
test
tools Merge pull request #108126 from Ma27/cleanup-maintained-pkgs 2021-01-02 18:58:26 +01:00
top-level Merge pull request #108241 from fabaff/schiene 2021-01-02 19:02:35 +01:00