Skip to content

Commit

Permalink
Merge pull request #1457 from akhesaCaro/nixshell_ghc9
Browse files Browse the repository at this point in the history
Update to GHC 9 (sub tasks)
  • Loading branch information
akhesaCaro committed Oct 2, 2021
2 parents 0b706aa + 9be55b3 commit 5115c41
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ packages:
doc/cookbook/custom-errors
doc/cookbook/basic-streaming
doc/cookbook/db-postgres-pool
--doc/cookbook/db-sqlite-simple
-- ^ BROKEN blaze-textual
doc/cookbook/db-sqlite-simple
doc/cookbook/file-upload
doc/cookbook/generic
doc/cookbook/hoist-server-with-context
Expand All @@ -36,8 +35,7 @@ packages:
-- doc/cookbook/sentry
-- Commented out because servant-quickcheck currently doesn't build.
-- doc/cookbook/testing
--doc/cookbook/uverb
-- ^ BROKEN servant-swagger -> optics-th
doc/cookbook/uverb
doc/cookbook/structuring-apis
doc/cookbook/using-custom-monad
doc/cookbook/using-free-client
Expand Down
2 changes: 2 additions & 0 deletions doc/cookbook/uverb/uverb.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ executable cookbook-uverb
, swagger2
, wai
, warp
if impl(ghc >= 9)
buildable: False
default-language: Haskell2010
ghc-options: -Wall -pgmL markdown-unlit
build-tool-depends: markdown-unlit:markdown-unlit
1 change: 1 addition & 0 deletions nix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ $ nix-shell nix/shell.nix --argstr compiler ghcHEAD
- `ghc865Binary`
- `ghc884`
- `ghc8104` - default
- `ghc901`

### Cabal users

Expand Down
1 change: 1 addition & 0 deletions nix/shell.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
let nixos = fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/refs/tags/21.05.tar.gz";
sha256 = "sha256:1ckzhh24mgz6jd1xhfgx0i9mijk6xjqxwsshnvq789xsavrmsc36";
}; in

{ compiler ? "ghc8104"
Expand Down

0 comments on commit 5115c41

Please sign in to comment.