mirror of
https://gitlab.com/sheaf/metabrush.git
synced 2024-11-05 14:53:37 +00:00
more GHC 9.4 build fixes
This commit is contained in:
parent
bcd38ed791
commit
066a4e653f
|
@ -32,7 +32,7 @@ common common
|
||||||
|
|
||||||
build-depends:
|
build-depends:
|
||||||
base
|
base
|
||||||
>= 4.16 && < 4.18
|
>= 4.17 && < 4.18
|
||||||
, acts
|
, acts
|
||||||
^>= 0.3.1.0
|
^>= 0.3.1.0
|
||||||
, containers
|
, containers
|
||||||
|
@ -44,7 +44,7 @@ common common
|
||||||
, groups
|
, groups
|
||||||
^>= 0.5.3
|
^>= 0.5.3
|
||||||
, groups-generic
|
, groups-generic
|
||||||
^>= 0.3
|
^>= 0.3.1.0
|
||||||
, primitive
|
, primitive
|
||||||
^>= 0.7.1.0
|
^>= 0.7.1.0
|
||||||
, transformers
|
, transformers
|
||||||
|
|
|
@ -3,23 +3,27 @@ packages: .
|
||||||
constraints:
|
constraints:
|
||||||
acts -finitary
|
acts -finitary
|
||||||
|
|
||||||
allow-newer:
|
|
||||||
digit:lens,
|
|
||||||
hoist-error:base,
|
|
||||||
natural:lens,
|
|
||||||
prim-instances:base,
|
|
||||||
records-sop:ghc-prim,
|
|
||||||
waargonaut:lens, waargonaut:records-sop, waargonaut:text, waargonaut:witherable
|
|
||||||
|
|
||||||
-- Fix a severe bug in Waargonaut (no corresponding Hackage release???)
|
-- Fix a severe bug in Waargonaut (no corresponding Hackage release???)
|
||||||
source-repository-package
|
source-repository-package
|
||||||
type: git
|
type: git
|
||||||
location: https://github.com/haskell-waargonaut/waargonaut
|
location: https://github.com/haskell-waargonaut/waargonaut
|
||||||
tag: 5f838582a8c5aae1a198ecd4958729e53a6b03cf
|
tag: 5f838582a8c5aae1a198ecd4958729e53a6b03cf
|
||||||
|
|
||||||
-----------------------------
|
-------------
|
||||||
-- GHC 9.2 support patches --
|
-- GHC 9.2 --
|
||||||
-----------------------------
|
-------------
|
||||||
|
|
||||||
|
allow-newer:
|
||||||
|
digit:lens,
|
||||||
|
hedgehog:resourcet,
|
||||||
|
hoist-error:base,
|
||||||
|
natural:lens,
|
||||||
|
prim-instances:base,
|
||||||
|
records-sop:ghc-prim,
|
||||||
|
waargonaut:base, waargonaut:lens,
|
||||||
|
waargonaut:records-sop,
|
||||||
|
waargonaut:semigroups, waargonaut:text,
|
||||||
|
waargonaut:vector, waargonaut:witherable,
|
||||||
|
|
||||||
-- eigen
|
-- eigen
|
||||||
source-repository-package
|
source-repository-package
|
||||||
|
@ -32,3 +36,24 @@ source-repository-package
|
||||||
type: git
|
type: git
|
||||||
location: https://github.com/kosmikus/records-sop
|
location: https://github.com/kosmikus/records-sop
|
||||||
tag: abab99b4b870fce55e81dd03d4e41fb50502ca4e
|
tag: abab99b4b870fce55e81dd03d4e41fb50502ca4e
|
||||||
|
|
||||||
|
-------------
|
||||||
|
-- GHC 9.4 --
|
||||||
|
-------------
|
||||||
|
|
||||||
|
-- hw-balancedparens
|
||||||
|
source-repository-package
|
||||||
|
type: git
|
||||||
|
location: https://github.com/sheaf/hw-balancedparens
|
||||||
|
tag: 747e4ce2145b436dd352814b71a68fc41fe63e6f
|
||||||
|
|
||||||
|
-------------
|
||||||
|
-- GHC 9.6 --
|
||||||
|
-------------
|
||||||
|
|
||||||
|
allow-newer:
|
||||||
|
attoparsec:ghc-prim,
|
||||||
|
generics-sop:base, generics-sop:ghc-prim,
|
||||||
|
hw-prim:ghc-prim,
|
||||||
|
integer-logarithms:ghc-prim,
|
||||||
|
vector-stream:base, vector-stream:ghc-prim,
|
||||||
|
|
11
shell.nix
11
shell.nix
|
@ -1,11 +1,14 @@
|
||||||
let np = import <nixpkgs> {};
|
let pkgs = import <nixpkgs> {};
|
||||||
in with np; np.mkShell { packages =
|
in with pkgs; pkgs.mkShell
|
||||||
[ cabal-install
|
{ packages =
|
||||||
|
[ haskell.packages.ghc943.ghc
|
||||||
|
cabal-install
|
||||||
zlib
|
zlib
|
||||||
pkg-config
|
pkg-config
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
gtk4
|
gtk4
|
||||||
pcre
|
pcre
|
||||||
|
pcre2
|
||||||
cairo
|
cairo
|
||||||
glib
|
glib
|
||||||
atk
|
atk
|
||||||
|
@ -27,4 +30,4 @@ in with np; np.mkShell { packages =
|
||||||
export LC_ALL=C.UTF-8
|
export LC_ALL=C.UTF-8
|
||||||
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk4}/share/gsettings-schemas/${gtk4.name}:$XDG_DATA_DIRS
|
export XDG_DATA_DIRS=${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}:${gtk4}/share/gsettings-schemas/${gtk4.name}:$XDG_DATA_DIRS
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
{-# LANGUAGE StandaloneDeriving #-}
|
{-# LANGUAGE StandaloneDeriving #-}
|
||||||
{-# LANGUAGE TypeApplications #-}
|
{-# LANGUAGE TypeApplications #-}
|
||||||
{-# LANGUAGE TypeFamilies #-}
|
{-# LANGUAGE TypeFamilies #-}
|
||||||
|
{-# LANGUAGE TypeOperators #-}
|
||||||
{-# LANGUAGE UndecidableInstances #-}
|
{-# LANGUAGE UndecidableInstances #-}
|
||||||
|
|
||||||
module Math.Bezier.Spline where
|
module Math.Bezier.Spline where
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
{-# LANGUAGE DataKinds #-}
|
{-# LANGUAGE DataKinds #-}
|
||||||
|
|
||||||
|
{-# OPTIONS_GHC -Wno-incomplete-uni-patterns #-}
|
||||||
|
|
||||||
module Math.Linear.Solve
|
module Math.Linear.Solve
|
||||||
( linearSolve )
|
( linearSolve )
|
||||||
where
|
where
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
{-# LANGUAGE TypeApplications #-}
|
{-# LANGUAGE TypeApplications #-}
|
||||||
{-# LANGUAGE UndecidableInstances #-}
|
{-# LANGUAGE UndecidableInstances #-}
|
||||||
|
|
||||||
|
|
||||||
module Math.Module
|
module Math.Module
|
||||||
( Module(..), lerp
|
( Module(..), lerp
|
||||||
, Inner(..)
|
, Inner(..)
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
{-# LANGUAGE PartialTypeSignatures #-}
|
{-# LANGUAGE PartialTypeSignatures #-}
|
||||||
{-# LANGUAGE ScopedTypeVariables #-}
|
{-# LANGUAGE ScopedTypeVariables #-}
|
||||||
{-# LANGUAGE TypeApplications #-}
|
{-# LANGUAGE TypeApplications #-}
|
||||||
|
{-# LANGUAGE TypeOperators #-}
|
||||||
|
|
||||||
module Math.Roots where
|
module Math.Roots where
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,9 @@ module Math.Vector2D
|
||||||
import Data.Monoid
|
import Data.Monoid
|
||||||
( Sum(..) )
|
( Sum(..) )
|
||||||
import GHC.Generics
|
import GHC.Generics
|
||||||
|
( Generic, Generic1
|
||||||
|
, Generically(..), Generically1(..)
|
||||||
|
)
|
||||||
|
|
||||||
-- acts
|
-- acts
|
||||||
import Data.Act
|
import Data.Act
|
||||||
|
|
Loading…
Reference in a new issue