diff --git a/stack.yaml b/stack.yaml index 6ec2fb1..f9b7cc9 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,8 +1,16 @@ flags: {} extra-package-dbs: [] packages: -- '.' -extra-deps: [] -resolver: lts-8.18 + - '.' +extra-deps: + - brick-0.45 + - config-ini-0.2.4.0 + - data-clist-0.1.2.1 + - text-zipper-0.10.1 + - word-wrap-0.4.1 + - QuickCheck-2.11.3 +resolver: lts-13.0 nix: - packages: [gcc, ncurses] + packages: + - gcc + - ncurses diff --git a/tetris.cabal b/tetris.cabal index 3cb55e0..7903dc9 100644 --- a/tetris.cabal +++ b/tetris.cabal @@ -19,13 +19,13 @@ library , UI.PickLevel , UI.Game build-depends: base >= 4.7 && < 5 - , brick >= 0.17 && < 0.18 - , containers >= 0.5.7 && < 0.6 - , microlens >= 0.4.8 && < 0.5 - , microlens-th >= 0.4.1 && < 0.5 - , linear >= 1.20.6 && < 1.21 - , random >= 1.1 && < 1.2 - , vty >= 5.15 && < 5.16 + , brick + , containers + , microlens + , microlens-th + , linear + , random + , vty default-language: Haskell2010 @@ -34,9 +34,9 @@ executable tetris main-is: Main.hs ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: base >= 4.7 && < 5 - , directory >= 1.3.0 && < 1.4 - , filepath >= 1.4.1 && < 1.5 - , optparse-applicative >= 0.13.2.0 && < 0.14 + , directory + , filepath + , optparse-applicative , tetris default-language: Haskell2010