mirror of
https://github.com/circuithub/rel8.git
synced 2024-09-11 16:05:41 +03:00
GHC 9 support
This commit is contained in:
parent
444bf051c4
commit
84845f0484
@ -5,7 +5,7 @@ let
|
||||
|
||||
nixpkgsArgs = haskellNix.nixpkgsArgs;
|
||||
|
||||
compiler-nix-name = "ghc8104";
|
||||
compiler-nix-name = "ghc901";
|
||||
|
||||
pkgs = import nixpkgsSrc nixpkgsArgs;
|
||||
|
||||
|
@ -4,7 +4,7 @@ let
|
||||
hsPkgs = import ./default.nix;
|
||||
in
|
||||
hsPkgs.shellFor {
|
||||
withHoogle = true;
|
||||
withHoogle = false;
|
||||
tools = { cabal = "latest"; };
|
||||
exactDeps = false;
|
||||
buildInputs = [ pkgs.postgresql pkgs.pythonPackages.sphinx ];
|
||||
|
@ -6,7 +6,6 @@
|
||||
{-# language GADTs #-}
|
||||
{-# language MultiParamTypeClasses #-}
|
||||
{-# language RankNTypes #-}
|
||||
{-# language QuantifiedConstraints #-}
|
||||
{-# language StandaloneKindSignatures #-}
|
||||
{-# language TypeFamilies #-}
|
||||
{-# language UndecidableInstances #-}
|
||||
@ -115,12 +114,7 @@ nullabilization = nullabilization'
|
||||
-- supports equality, and @a@ can either be exactly an @a@, or it could also be
|
||||
-- @Maybe a@.
|
||||
type Sql :: (Type -> Constraint) -> Type -> Constraint
|
||||
class
|
||||
( (forall c. (forall x. (constraint x => c x)) => Sql c a)
|
||||
, HasNullability a
|
||||
, constraint (Unnullify a)
|
||||
)
|
||||
=> Sql constraint a
|
||||
class (constraint (Unnullify a), HasNullability a) => Sql constraint a
|
||||
instance (constraint (Unnullify a), HasNullability a) => Sql constraint a
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user