diff --git a/example/Main.hs b/example/Main.hs index 725a366..83eb08a 100644 --- a/example/Main.hs +++ b/example/Main.hs @@ -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 "" diff --git a/servant-nix.cabal b/servant-nix.cabal index ae14164..497d3be 100644 --- a/servant-nix.cabal +++ b/servant-nix.cabal @@ -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