sqlite-simple cookbook is working with sqlite-simple >= 0.4.5.0

This commit is contained in:
akhesaCaro 2021-03-18 08:48:30 +01:00
parent dd1ab6dd36
commit 269e546a6a
3 changed files with 2 additions and 6 deletions

1
.gitignore vendored
View file

@ -30,7 +30,6 @@ doc/_build
doc/venv doc/venv
doc/tutorial/static/api.js doc/tutorial/static/api.js
doc/tutorial/static/jq.js doc/tutorial/static/jq.js
shell.nix
# nix # nix
result* result*

View file

@ -26,7 +26,7 @@ packages:
doc/cookbook/custom-errors doc/cookbook/custom-errors
doc/cookbook/basic-streaming doc/cookbook/basic-streaming
doc/cookbook/db-postgres-pool doc/cookbook/db-postgres-pool
-- doc/cookbook/db-sqlite-simple doc/cookbook/db-sqlite-simple
doc/cookbook/file-upload doc/cookbook/file-upload
doc/cookbook/generic doc/cookbook/generic
-- doc/cookbook/hoist-server-with-context -- doc/cookbook/hoist-server-with-context
@ -54,9 +54,6 @@ constraints:
constraints: base-compat ^>=0.11 constraints: base-compat ^>=0.11
constraints: semigroups ^>=0.19 constraints: semigroups ^>=0.19
-- MonadFail
-- https://github.com/nurpax/sqlite-simple/issues/74
constraints: sqlite-simple < 0
-- allow-newer: sqlite-simple-0.4.16.0:semigroups -- allow-newer: sqlite-simple-0.4.16.0:semigroups
-- allow-newer: direct-sqlite-2.3.24:semigroups -- allow-newer: direct-sqlite-2.3.24:semigroups

View file

@ -23,7 +23,7 @@ executable cookbook-db-sqlite-simple
, http-types >= 0.12 , http-types >= 0.12
, markdown-unlit >= 0.4 , markdown-unlit >= 0.4
, http-client >= 0.5 , http-client >= 0.5
, sqlite-simple >= 0.4 , sqlite-simple >= 0.4.5.0
, transformers , transformers
default-language: Haskell2010 default-language: Haskell2010
ghc-options: -Wall -pgmL markdown-unlit ghc-options: -Wall -pgmL markdown-unlit