Skip to content

Commit

Permalink
Allow recent base, servant, http-media and hnix
Browse files Browse the repository at this point in the history
Compiles and passes test.

Closes haskell-servant#9.
  • Loading branch information
sorki committed Mar 20, 2021
1 parent 707d3d6 commit b250054
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ main = do
Right expr -> putStrLn "Roundtrip successful!" >> print expr

where testExpr = mkList [ mkInt n | n <- [1..10] ]
env m = ClientEnv m url Nothing
env m = mkClientEnv m url
url = BaseUrl Http "localhost" 8080 ""
8 changes: 4 additions & 4 deletions servant-nix.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ source-repository head

library
exposed-modules: Servant.Nix
build-depends: base >=4.8 && <4.12
build-depends: base >=4.8 && <4.16
, bytestring >=0.10.4.0 && <0.11
, servant >=0.13 && <0.17
, servant >=0.13 && <0.19
, text >=1.2.3.0 && <1.3
, http-media >= 0.7 && <0.8
, hnix >= 0.5 && <0.6
, http-media >= 0.7 && <0.9
, hnix >= 0.5 && <0.13
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
Expand Down

0 comments on commit b250054

Please sign in to comment.