Skip to content

Commit ec80c8f

Browse files
committed
fix cabal file: take into account the split of network from version 2.6,
and avoid authenticate 1.3.2.6 which gave the following strange error: ... Building authenticate-1.3.2.6... Preprocessing library authenticate-1.3.2.6... [1 of 9] Compiling OpenId2.XRDS ( OpenId2/XRDS.hs, dist/dist-sandbox-a1429708/build/OpenId2/XRDS.o ) [2 of 9] Compiling Web.Authenticate.OpenId.Providers ( Web/Authenticate/OpenId/Providers.hs, dist/dist-sandbox-a1429708/build/Web/Authenticate/OpenId/Providers.o ) [3 of 9] Compiling Web.Authenticate.BrowserId ( Web/Authenticate/BrowserId.hs, dist/dist-sandbox-a1429708/build/Web/Authenticate/BrowserId.o ) Web/Authenticate/BrowserId.hs:15:22: Module ‘Data.Conduit’ does not export ‘MonadBaseControl’ Web/Authenticate/BrowserId.hs:15:40: Module ‘Data.Conduit’ does not export ‘MonadResource’ Failed to install authenticate-1.3.2.6
1 parent 7c002e1 commit ec80c8f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

yesod-auth-oauth2.cabal

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,16 @@ homepage: http://github.com/scan/yesod-auth-oauth2
1414

1515
flag ghc7
1616

17+
flag network-uri
18+
description: Get Network.URI from the network-uri package
19+
default: True
20+
1721
library
22+
if flag(network-uri)
23+
build-depends: network-uri >= 2.6
24+
else
25+
build-depends: network < 2.6
26+
1827
if flag(ghc7)
1928
build-depends: base >= 4.3 && < 5
2029
cpp-options: -DGHC7
@@ -26,6 +35,7 @@ library
2635
, http-types >= 0.8 && < 0.9
2736
, aeson >= 0.6 && < 0.8
2837
, yesod-core >= 1.2 && < 1.4
38+
, authenticate >= 1.3.2.7 && < 1.4
2939
, yesod-auth >= 1.3 && < 1.4
3040
, text >= 0.7 && < 2.0
3141
, yesod-form >= 1.3 && < 1.4

0 commit comments

Comments
 (0)