summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-05-29 20:25:01 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-05-29 20:25:01 -0400
commit515b6450ff6b6b868b829249cb691d60c3b9c2e7 (patch)
tree7d2e8471146eb542b56d45b908aa1c14c8d43abe /Utility
parent339a924da09f243b17df249529a23ab000e36022 (diff)
lazy bytestring fromStrict is not available in stable; use fromChunks instead
Diffstat (limited to 'Utility')
-rw-r--r--Utility/Hash.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Hash.hs b/Utility/Hash.hs
index 245f45dfa..1c5450a9b 100644
--- a/Utility/Hash.hs
+++ b/Utility/Hash.hs
@@ -67,4 +67,4 @@ prop_hashes_stable = all (\(hasher, result) -> hasher foo == result)
#endif
]
where
- foo = L.fromStrict $ T.encodeUtf8 $ T.pack "foo"
+ foo = L.fromChunks [T.encodeUtf8 $ T.pack "foo"]