diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-01 12:50:25 -0800 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-01 12:50:25 -0800 |
commit | af9573a7519e76c10a0cca168355ca866d22c429 (patch) | |
tree | b906818de9f63da992177015b4e172a8da241c93 /src/Network/BitTorrent/Exchange | |
parent | f4fcc6c1970ec8d63e185e49dff65a6bd77011ad (diff) | |
parent | 815e9f64af96e2b917be77dc31b903fcbac292b4 (diff) |
Merge pull request #3 from DanielG/dev
Fix building with aeson >= 0.6.2.0 ..again
Diffstat (limited to 'src/Network/BitTorrent/Exchange')
-rw-r--r-- | src/Network/BitTorrent/Exchange/Status.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Exchange/Status.hs b/src/Network/BitTorrent/Exchange/Status.hs index 03a71bbe..ae323e09 100644 --- a/src/Network/BitTorrent/Exchange/Status.hs +++ b/src/Network/BitTorrent/Exchange/Status.hs | |||
@@ -56,7 +56,7 @@ data SessionStatus = SessionStatus { | |||
56 | } deriving (Show, Eq) | 56 | } deriving (Show, Eq) |
57 | 57 | ||
58 | $(makeLenses ''SessionStatus) | 58 | $(makeLenses ''SessionStatus) |
59 | $(deriveJSON L.tail ''SessionStatus) | 59 | $(deriveJSON defaultOptions { fieldLabelModifier = L.tail } ''SessionStatus) |
60 | 60 | ||
61 | instance Default SessionStatus where | 61 | instance Default SessionStatus where |
62 | def = SessionStatus def def | 62 | def = SessionStatus def def |