nixpkgs/pkgs/development/haskell-modules
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
..
patches hasura: 1.2.1 -> 1.3.1-beta.1 2020-09-03 14:59:08 -05:00
configuration-common.nix haskellPackages.apecs-physics: push to 0.4.5 to unbreak build 2020-12-25 20:42:36 +01:00
configuration-ghc-8.2.x.nix haskell: update Cabal overrides for the new 3.2.1.0 release 2020-10-30 21:11:47 +01:00
configuration-ghc-8.4.x.nix haskell: update Cabal overrides for the new 3.2.1.0 release 2020-10-30 21:11:47 +01:00
configuration-ghc-8.6.x.nix haskell.packages.{ghc865,ghc884}.exceptions: Create attribute 2020-11-20 20:57:37 +01:00
configuration-ghc-8.8.x.nix cachix: Build from 8.10.2, fix build and activate on hydra 2020-11-21 19:59:08 +01:00
configuration-ghc-8.10.x.nix haskellPackages.Agda: Fix build for ghc 8.10.2 → 8.10.3 upgrade 2021-01-02 19:58:18 +01:00
configuration-ghc-9.0.x.nix haskell.packages.ghc901.th-abstraction: Fix eval error 2020-11-20 20:57:38 +01:00
configuration-ghc-head.nix haskellPackages.ghcHEAD: Mark exceptions as a core library 2020-08-19 18:06:11 +12:00
configuration-ghcjs.nix configuration-ghcjs.nix: fix evaluation 2019-09-30 12:52:43 +02:00
configuration-hackage2nix.yaml hackage2nix: update list of broken builds to fix evaluation errors 2021-01-02 19:57:38 +01:00
configuration-nix.nix spago: 0.17.0 -> 0.18.0 2020-12-25 20:42:36 +01:00
configuration-tensorflow.nix tensorflow-haskell: Remove tensorflow-mnist 2020-06-05 21:58:24 +02:00
default.nix
generic-builder.nix haskell-generic-builder: Add missing preHaddock and postHaddock arguments 2020-10-23 21:00:26 +02:00
generic-stack-builder.nix buildStackProject: Set __noChroot to make it fail without sandbox 2019-11-14 01:32:04 +01:00
hackage-packages.nix hackage-packages.nix: automatic Haskell package set update 2021-01-02 19:58:12 +01:00
hoogle-local-wrapper.sh
hoogle.nix ghcWithHoogle: Fix for cross 2019-12-24 18:17:41 -05:00
initial-packages.nix
lib.nix haskell.lib.generateOptparseApplicativeCompletion: support separate bin 2020-12-18 20:27:53 +01:00
make-package-set.nix haskell: Add cabal2nixOptions to developPackage 2020-11-13 21:37:57 +01:00
non-hackage-packages.nix ldgallery: init at 2.0 2021-01-01 16:30:48 +01:00
stack-hook.sh
with-packages-wrapper.nix haskellPackages.ghc.withPackages: Remove obsolete ghcide wrapper 2020-09-18 21:50:29 +02:00