Skip to content

Commit

Permalink
support GHC 9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
raehik committed Sep 17, 2024
1 parent dac52c3 commit 60826f1
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 22 deletions.
21 changes: 21 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,28 @@

haskellProjects.ghc96 = {
basePackages = pkgs.haskell.packages.ghc96;
devShell = {
tools = hp: {
# disable these while unused (often slow/annoying to build)
haskell-language-server = null;
ghcid = null;
hlint = null;
};
};
};

haskellProjects.ghc98 = {
basePackages = pkgs.haskell.packages.ghc98;
devShell = {
tools = hp: {
# disable these while unused (often slow/annoying to build)
haskell-language-server = null;
ghcid = null;
hlint = null;
};
};
};

};
};
}
30 changes: 15 additions & 15 deletions fortran-src.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ library
, array ==0.5.*
, base >=4.6 && <5
, binary >=0.8.3.0 && <0.11
, bytestring >=0.10 && <0.12
, bytestring >=0.10 && <0.13
, containers >=0.5 && <0.7
, deepseq ==1.4.*
, deepseq >=1.4 && <1.6
, directory >=1.2 && <2
, either >=5.0.1.1 && <5.1
, fgl ==5.*
Expand All @@ -201,10 +201,10 @@ library
, pretty >=1.1 && <2
, process >=1.2.0.0
, singletons ==3.0.*
, singletons-base >=3.0 && <3.3
, singletons-th >=3.0 && <3.3
, singletons-base >=3.0 && <3.4
, singletons-th >=3.0 && <3.4
, temporary >=1.2 && <1.4
, text >=1.2 && <2.1
, text >=1.2 && <2.2
, uniplate >=1.6 && <2
default-language: Haskell2010
if os(windows)
Expand Down Expand Up @@ -253,9 +253,9 @@ executable fortran-src
, array ==0.5.*
, base >=4.6 && <5
, binary >=0.8.3.0 && <0.11
, bytestring >=0.10 && <0.12
, bytestring >=0.10 && <0.13
, containers >=0.5 && <0.7
, deepseq ==1.4.*
, deepseq >=1.4 && <1.6
, directory >=1.2 && <2
, either >=5.0.1.1 && <5.1
, fgl ==5.*
Expand All @@ -265,10 +265,10 @@ executable fortran-src
, pretty >=1.1 && <2
, process >=1.2.0.0
, singletons ==3.0.*
, singletons-base >=3.0 && <3.3
, singletons-th >=3.0 && <3.3
, singletons-base >=3.0 && <3.4
, singletons-th >=3.0 && <3.4
, temporary >=1.2 && <1.4
, text >=1.2 && <2.1
, text >=1.2 && <2.2
, uniplate >=1.6 && <2
default-language: Haskell2010
if os(windows)
Expand Down Expand Up @@ -351,9 +351,9 @@ test-suite spec
, array ==0.5.*
, base >=4.6 && <5
, binary >=0.8.3.0 && <0.11
, bytestring >=0.10 && <0.12
, bytestring >=0.10 && <0.13
, containers >=0.5 && <0.7
, deepseq ==1.4.*
, deepseq >=1.4 && <1.6
, directory >=1.2 && <2
, either >=5.0.1.1 && <5.1
, fgl ==5.*
Expand All @@ -364,10 +364,10 @@ test-suite spec
, pretty >=1.1 && <2
, process >=1.2.0.0
, singletons ==3.0.*
, singletons-base >=3.0 && <3.3
, singletons-th >=3.0 && <3.3
, singletons-base >=3.0 && <3.4
, singletons-th >=3.0 && <3.4
, temporary >=1.2 && <1.4
, text >=1.2 && <2.1
, text >=1.2 && <2.2
, uniplate >=1.6 && <2
default-language: Haskell2010
if os(windows)
Expand Down
14 changes: 7 additions & 7 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,23 +87,23 @@ dependencies:
- GenericPretty >=1.2.2 && <2
- pretty >=1.1 && <2
- containers >=0.5 && <0.7
- text >=1.2 && <2.1
- bytestring >=0.10 && <0.12
- text >=1.2 && <2.2
- bytestring >=0.10 && <0.13
- binary >=0.8.3.0 && <0.11
- filepath >=1.4 && <2
- directory >=1.2 && <2
- fgl >=5 && <6
- deepseq >=1.4 && <1.5
- deepseq >=1.4 && <1.6
- filepath >=1.4 && <1.5
- temporary >=1.2 && <1.4
- either ^>=5.0.1.1
- process >= 1.2.0.0

- singletons >= 3.0 && < 3.1

# 3.0 = GHC 9.0, 3.1 = GHC 9.2, 3.1.1 = GHC 9.4, 3.2 = GHC 9.6
- singletons-th >= 3.0 && < 3.3
- singletons-base >= 3.0 && < 3.3
# 3.0 = GHC 9.0, 3.1 = GHC 9.2, 3.1.1 = GHC 9.4, 3.2 = GHC 9.6, 3.3 = GHC 9.8
- singletons-th >= 3.0 && < 3.4
- singletons-base >= 3.0 && < 3.4

library:
source-dirs: src
Expand All @@ -128,7 +128,7 @@ tests:
- hspec-discover
dependencies:
- fortran-src
- deepseq >=1.4 && <1.5
- deepseq >=1.4 && <1.6
- hspec >=2.2 && <3
- QuickCheck >=2.10 && <2.15

Expand Down

0 comments on commit 60826f1

Please sign in to comment.