summaryrefslogtreecommitdiff
blob: e5bb521239cf83d10e2b09cc91dc13f27b3c85f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/texmath.cabal b/texmath.cabal
index 16f4410..ba61859 100644
--- a/texmath.cabal
+++ b/texmath.cabal
@@ -135,8 +135,8 @@ Executable texmath
                          split, aeson, bytestring, text
+      if flag(network-uri)
+        Build-Depends:     network-uri >= 2.6
+      else
+        Build-Depends:     network < 2.6
     else
       Buildable:         False
-    if flag(network-uri)
-      Build-Depends:     network-uri >= 2.6
-    else
-      Build-Depends:     network < 2.6