Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GHC 9.2.1 support #5

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.stack-work/
*~
stack.yaml.lock
*.yaml.lock
result*
.pre-commit-config.yaml
14 changes: 7 additions & 7 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs": {
"branch": "nixos-21.05",
"branch": "nixos-21.11",
"description": "Nix Packages collection",
"homepage": "",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "aa576357673d609e618d87db43210e49d4bb1789",
"sha256": "1868s3mp0lwg1jpxsgmgijzddr90bjkncf6k6zhdjqihf0i1n2np",
"rev": "521e4d7d13b09bc0a21976b9d19abd197d4e3b1e",
"sha256": "156b4wnm6y6lg0gz09mp48rd0mhcdazr5s888c4lbhlpn3j8h042",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/aa576357673d609e618d87db43210e49d4bb1789.tar.gz",
"url": "https://github.com/NixOS/nixpkgs/archive/521e4d7d13b09bc0a21976b9d19abd197d4e3b1e.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"pre-commit-hooks": {
Expand All @@ -53,10 +53,10 @@
"homepage": "",
"owner": "NorfairKing",
"repo": "sydtest",
"rev": "e75c55b920936e344b779093b2a0318fb35d1770",
"sha256": "086mr29c5a3fysz8nx06a0j8g1asy63xpqpi546bydxqxny9hyvl",
"rev": "7d2f125b9b9d9e8e36b92a1da83b934f1a17cc53",
"sha256": "1fqh645gcbbrb3imjc97d4pmgsdh77b302f0jx7z90p29q5m8hqh",
"type": "tarball",
"url": "https://github.com/NorfairKing/sydtest/archive/e75c55b920936e344b779093b2a0318fb35d1770.tar.gz",
"url": "https://github.com/NorfairKing/sydtest/archive/7d2f125b9b9d9e8e36b92a1da83b934f1a17cc53.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"validity": {
Expand Down
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pkgs.haskell.lib.buildStackProject {
buildInputs = with pkgs; [
zlib
(import sources.niv { }).niv
pkgs.haskell.compiler.ghc921
] ++ pre-commit.tools;
shellHook = ''
${pre-commit.check.shellHook}
Expand Down
67 changes: 67 additions & 0 deletions stack-9.2.1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
resolver: nightly-2022-02-07
compiler: ghc-9.2.1
packages:
- safe-coloured-text
- safe-coloured-text-gen
- safe-coloured-text-layout
- safe-coloured-text-layout-gen
- safe-coloured-text-terminfo
extra-deps:
- github: NorfairKing/sydtest
commit: 7d2f125b9b9d9e8e36b92a1da83b934f1a17cc53
subdirs:
- sydtest
- sydtest-discover
- github: NorfairKing/autodocodec
commit: f0cb2ead0985b4394db0627e6befd7ce23c54c22
subdirs:
- autodocodec
- autodocodec-schema
- autodocodec-yaml
- envparse-0.4.1@sha256:989902e6368532548f61de1fa245ad2b39176cddd8743b20071af519a709ce30,2842
# https://github.com/NorfairKing/validity/pull/100
- github: srid/validity
commit: 3d95a17f1223615b7f55e4e7bf9350227023ee9d # ghc921
subdirs:
- genvalidity
- genvalidity-aeson
- genvalidity-bytestring
- genvalidity-containers
- genvalidity-criterion
- genvalidity-hspec
- genvalidity-hspec-aeson
- genvalidity-hspec-binary
- genvalidity-hspec-cereal
- genvalidity-hspec-hashable
- genvalidity-hspec-optics
- genvalidity-hspec-persistent
- genvalidity-path
- genvalidity-persistent
- genvalidity-property
- genvalidity-scientific
- genvalidity-sydtest
- genvalidity-sydtest-aeson
- genvalidity-sydtest-hashable
- genvalidity-sydtest-lens
- genvalidity-sydtest-persistent
- genvalidity-text
- genvalidity-time
- genvalidity-unordered-containers
- genvalidity-uuid
- genvalidity-vector
- validity
- validity-aeson
- validity-bytestring
- validity-containers
- validity-path
- validity-persistent
- validity-primitive
- validity-scientific
- validity-text
- validity-time
- validity-unordered-containers
- validity-uuid
- validity-vector
nix:
shell-file: shell.nix
add-gc-roots: true