aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar http://joeyh.name/ <http://joeyh.name/@web>2014-06-06 16:53:21 +0000
committerGravatar admin <admin@branchable.com>2014-06-06 16:53:21 +0000
commit8071784ce0969fa2450947bbf75c973e782366d8 (patch)
treecd33dbe876ed0fa2d33d3c6863fb7bdf3d18bfc4
parent93205099ddf40688289b5f172a843d358e9cb480 (diff)
Added a comment
-rw-r--r--doc/bugs/error_compiling_network-info_when_compiling_git-annex/comment_1_1b5d236567123300924427624e0e48c8._comment53
1 files changed, 53 insertions, 0 deletions
diff --git a/doc/bugs/error_compiling_network-info_when_compiling_git-annex/comment_1_1b5d236567123300924427624e0e48c8._comment b/doc/bugs/error_compiling_network-info_when_compiling_git-annex/comment_1_1b5d236567123300924427624e0e48c8._comment
new file mode 100644
index 000000000..8ee7885a6
--- /dev/null
+++ b/doc/bugs/error_compiling_network-info_when_compiling_git-annex/comment_1_1b5d236567123300924427624e0e48c8._comment
@@ -0,0 +1,53 @@
+[[!comment format=mdwn
+ username="http://joeyh.name/"
+ ip="108.236.230.124"
+ subject="comment 1"
+ date="2014-06-06T16:53:21Z"
+ content="""
+http://packdeps.haskellers.com/reverse/network-info
+
+It's uuid which needs network-info -- but not for the parts of uuid which git-annex uses. (git-annex does not use the uuids that include the MAC address).
+
+It's not hard to avoid that dependency. The attached patch will do. I've forwarded this to the author of uuid.
+
+<pre>
+diff --git a/uuid.cabal b/uuid.cabal
+index 0a53059..f00e887 100644
+--- a/uuid.cabal
++++ b/uuid.cabal
+@@ -24,6 +24,9 @@ Extra-Source-Files:
+ CHANGES
+ CONTRIBUTORS
+
++Flag NetworkInfo
++ Description: Enable UUIDs that need network-info
++ Default: True
+
+ Library
+ Build-Depends: base >=3 && < 5,
+@@ -32,17 +35,20 @@ Library
+ cryptohash >= 0.7 && < 0.12,
+ deepseq == 1.3.*,
+ hashable (>= 1.1.1.0 && < 1.2.0) || (>= 1.2.1 && < 1.3),
+- network-info == 0.2.*,
+ random >= 1.0.1 && < 1.1,
+ time >= 1.1 && < 1.5
++ if flag(NetworkInfo)
++ Build-Depends: network-info == 0.2.*
+
+ Exposed-Modules:
+ Data.UUID
+- Data.UUID.Util
+- Data.UUID.V1
+ Data.UUID.V3
+ Data.UUID.V4
+ Data.UUID.V5
++ if flag(NetworkInfo)
++ Exposed-Modules:
++ Data.UUID.Util
++ Data.UUID.V1
+
+ Other-Modules:
+ Data.UUID.Builder
+</pre>
+"""]]