From b2500547656b7d36cb34ef9315c9073a306cbae5 Mon Sep 17 00:00:00 2001 From: Richard Marko Date: Sat, 20 Mar 2021 13:35:57 +0100 Subject: [PATCH] Allow recent base, servant, http-media and hnix Compiles and passes test. Closes #9. --- example/Main.hs | 2 +- servant-nix.cabal | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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