Bump to lts-22.19 and brick-2.1.1
This commit is contained in:
parent
3fd342c69f
commit
bcd6b38978
4 changed files with 12 additions and 8 deletions
|
@ -19,6 +19,8 @@ import qualified Brick.Widgets.Border.Style as BS
|
|||
import qualified Brick.Widgets.Center as C
|
||||
import Control.Lens hiding (preview, op, zoom)
|
||||
import qualified Graphics.Vty as V
|
||||
import qualified Graphics.Vty.CrossPlatform
|
||||
import qualified Graphics.Vty.Config
|
||||
import Data.Map (Map)
|
||||
import qualified Data.Map as M
|
||||
import Linear.V2 (V2(..))
|
||||
|
@ -66,9 +68,9 @@ playGame lvl mp = do
|
|||
writeBChan chan Tick
|
||||
threadDelay delay
|
||||
initialGame <- initGame lvl
|
||||
let builder = V.mkVty V.defaultConfig
|
||||
initialVty <- builder
|
||||
ui <- customMain initialVty builder (Just chan) app $ UI
|
||||
let buildVty = Graphics.Vty.CrossPlatform.mkVty Graphics.Vty.Config.defaultConfig
|
||||
initialVty <- buildVty
|
||||
ui <- customMain initialVty buildVty (Just chan) app $ UI
|
||||
{ _game = initialGame
|
||||
, _preview = mp
|
||||
, _locked = False
|
||||
|
|
|
@ -3,7 +3,7 @@ extra-package-dbs: []
|
|||
packages:
|
||||
- '.'
|
||||
extra-deps: []
|
||||
resolver: lts-20.1
|
||||
resolver: lts-22.19
|
||||
nix:
|
||||
packages:
|
||||
- gcc
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
packages: []
|
||||
snapshots:
|
||||
- completed:
|
||||
sha256: b73b2b116143aea728c70e65c3239188998bac5bc3be56465813dacd74215dc5
|
||||
size: 648424
|
||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/1.yaml
|
||||
original: lts-20.1
|
||||
sha256: e5cac927cf7ccbd52aa41476baa68b88c564ee6ddc3bc573dbf4210069287fe7
|
||||
size: 713340
|
||||
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/22/19.yaml
|
||||
original: lts-22.19
|
||||
|
|
|
@ -21,9 +21,11 @@ library
|
|||
, containers
|
||||
, lens
|
||||
, linear
|
||||
, mtl
|
||||
, random
|
||||
, transformers
|
||||
, vty
|
||||
, vty-crossplatform
|
||||
default-language: Haskell2010
|
||||
|
||||
executable tetris
|
||||
|
|
Loading…
Add table
Reference in a new issue