Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 632fd2e11693
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 13465ac237c8
Choose a head ref
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on Dec 27, 2020

  1. haskellPackages.Agda: Fix build for ghc 8.10.2 → 8.10.3 upgrade

    Commit 1998b95 “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>
    andersk committed Dec 27, 2020
    Copy the full SHA
    17eec88 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2020

  1. Copy the full SHA
    afcafd4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #107695 from andersk/agda

    haskellPackages.Agda: Fix build for ghc 8.10.2 → 8.10.3 upgrade
    cdepillabout committed Dec 28, 2020
    Copy the full SHA
    13465ac View commit details
    Browse the repository at this point in the history