switch to latest GHC 8.10.7 LTS

This commit is contained in:
Mesabloo 2022-04-26 15:09:41 +02:00
parent baf3c56ff8
commit a8d77f4b79
4 changed files with 43 additions and 38 deletions

View File

@ -65,13 +65,13 @@ library
ghc-options: -Wall -Wextra ghc-options: -Wall -Wextra
build-depends: build-depends:
base >=4.7 && <5 base >=4.7 && <5
, bytestring ==0.10.* , data-default >=0.7 && <1
, data-default ==0.7.* , hashable >=1.3 && <2
, hashable ==1.3.* , prettyprinter >=1.7.0 && <2
, prettyprinter ==1.7.* , prettyprinter-ansi-terminal >=1.1.0 && <2
, prettyprinter-ansi-terminal ==1.1.* , text >=1.2 && <2
, text ==1.2.*
, unordered-containers ==0.2.* , unordered-containers ==0.2.*
, wcwidth >=0.0.1
if flag(json) if flag(json)
cpp-options: -DUSE_AESON cpp-options: -DUSE_AESON
build-depends: build-depends:
@ -105,14 +105,14 @@ test-suite diagnose-megaparsec-tests
ghc-options: -Wall -Wextra -threaded -rtsopts -with-rtsopts=-N ghc-options: -Wall -Wextra -threaded -rtsopts -with-rtsopts=-N
build-depends: build-depends:
base >=4.7 && <5 base >=4.7 && <5
, bytestring ==0.10.* , data-default >=0.7 && <1
, data-default ==0.7.*
, diagnose , diagnose
, hashable ==1.3.* , hashable >=1.3 && <2
, prettyprinter ==1.7.* , prettyprinter >=1.7.0 && <2
, prettyprinter-ansi-terminal ==1.1.* , prettyprinter-ansi-terminal >=1.1.0 && <2
, text ==1.2.* , text >=1.2 && <2
, unordered-containers ==0.2.* , unordered-containers ==0.2.*
, wcwidth >=0.0.1
if flag(json) if flag(json)
cpp-options: -DUSE_AESON cpp-options: -DUSE_AESON
build-depends: build-depends:
@ -143,14 +143,14 @@ test-suite diagnose-parsec-tests
ghc-options: -Wall -Wextra -threaded -rtsopts -with-rtsopts=-N ghc-options: -Wall -Wextra -threaded -rtsopts -with-rtsopts=-N
build-depends: build-depends:
base >=4.7 && <5 base >=4.7 && <5
, bytestring ==0.10.* , data-default >=0.7 && <1
, data-default ==0.7.*
, diagnose , diagnose
, hashable ==1.3.* , hashable >=1.3 && <2
, prettyprinter ==1.7.* , prettyprinter >=1.7.0 && <2
, prettyprinter-ansi-terminal ==1.1.* , prettyprinter-ansi-terminal >=1.1.0 && <2
, text ==1.2.* , text >=1.2 && <2
, unordered-containers ==0.2.* , unordered-containers ==0.2.*
, wcwidth >=0.0.1
if flag(json) if flag(json)
cpp-options: -DUSE_AESON cpp-options: -DUSE_AESON
build-depends: build-depends:
@ -180,14 +180,14 @@ test-suite diagnose-rendering-tests
ghc-options: -Wall -Wextra -threaded -rtsopts -with-rtsopts=-N ghc-options: -Wall -Wextra -threaded -rtsopts -with-rtsopts=-N
build-depends: build-depends:
base >=4.7 && <5 base >=4.7 && <5
, bytestring ==0.10.* , data-default >=0.7 && <1
, data-default ==0.7.*
, diagnose , diagnose
, hashable ==1.3.* , hashable >=1.3 && <2
, prettyprinter ==1.7.* , prettyprinter >=1.7.0 && <2
, prettyprinter-ansi-terminal ==1.1.* , prettyprinter-ansi-terminal >=1.1.0 && <2
, text ==1.2.* , text >=1.2 && <2
, unordered-containers ==0.2.* , unordered-containers ==0.2.*
, wcwidth >=0.0.1
if flag(json) if flag(json)
cpp-options: -DUSE_AESON cpp-options: -DUSE_AESON
build-depends: build-depends:

View File

@ -1,6 +1,9 @@
import (builtins.fetchTarball { import
name = "nixpkgs-pinned"; (builtins.fetchTarball {
url = "https://github.com/nixos/nixpkgs/archive/43cdc5b364511eabdcad9fde639777ffd9e5bab1.tar.gz"; name = "nixpkgs-pinned";
# Use `nix-prefetch-url --unpack <url>` url = "https://github.com/nixos/nixpkgs/archive/a7ecde854aee5c4c7cd6177f54a99d2c1ff28a31.tar.gz";
sha256 = "1wrd5rrpa2fcy6q9193vgihiqmqc686vmwqyn24cb0fk1a37m2g4"; # Use `nix-prefetch-url --unpack <url>`
}) {} sha256 = "162dywda2dvfj1248afxc45kcrg83appjd0nmdb541hl7rnncf02";
})
{ }

View File

@ -8,13 +8,14 @@ category: "Error Reporting"
dependencies: dependencies:
- base >= 4.7 && < 5 - base >= 4.7 && < 5
- prettyprinter == 1.7.* - prettyprinter >= 1.7.0 && < 2
- prettyprinter-ansi-terminal == 1.1.* - prettyprinter-ansi-terminal >= 1.1.0 && < 2
- unordered-containers == 0.2.* - unordered-containers >= 0.2 && < 0.3
- hashable == 1.3.* - hashable >= 1.3 && < 2
- data-default == 0.7.* - data-default >= 0.7 && < 1
- bytestring == 0.10.* # - bytestring >= 0.9 && < 1
- text == 1.2.* - text >= 1.2 && < 2
- wcwidth >= 0.0.1
default-extensions: default-extensions:
- OverloadedStrings - OverloadedStrings

View File

@ -17,7 +17,7 @@
# #
# resolver: ./custom-snapshot.yaml # resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml # resolver: https://example.com/snapshots/2018-01-01.yaml
resolver: lts-18.5 resolver: lts-18.28
# User packages to be built. # User packages to be built.
# Various formats can be used as shown in the example below. # Various formats can be used as shown in the example below.
@ -40,6 +40,7 @@ packages:
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a # commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
# #
# extra-deps: [] # extra-deps: []
extra-deps:
# Override default flag values for local packages and extra-deps # Override default flag values for local packages and extra-deps
# flags: {} # flags: {}