From 815e9f64af96e2b917be77dc31b903fcbac292b4 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Sun, 1 Dec 2013 21:37:19 +0100 Subject: Fix building with aeson >= 0.6.2.0 ..again ..overlooked this one, no idea why that built before --- src/Network/BitTorrent/Exchange/Status.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Network') 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 { } deriving (Show, Eq) $(makeLenses ''SessionStatus) -$(deriveJSON L.tail ''SessionStatus) +$(deriveJSON defaultOptions { fieldLabelModifier = L.tail } ''SessionStatus) instance Default SessionStatus where def = SessionStatus def def -- cgit v1.2.3