diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-08-14 17:23:25 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-08-14 17:23:25 -0400 |
commit | b6b307eb0def1300695a7c8cf082b2ac52473566 (patch) | |
tree | 568f09d71acfb3d974146558982d9236dc90c08a /Utility/Hash.hs | |
parent | f3badb6237b759fdc01773d6a1a4b6ca4aa204dc (diff) |
package qualify imports
needed for "make fast" to work
Diffstat (limited to 'Utility/Hash.hs')
-rw-r--r-- | Utility/Hash.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Utility/Hash.hs b/Utility/Hash.hs index 12f92024f..81ee90ee3 100644 --- a/Utility/Hash.hs +++ b/Utility/Hash.hs @@ -31,9 +31,11 @@ import qualified Data.ByteString.Lazy as L import qualified Data.Text as T import qualified Data.Text.Encoding as T import qualified Data.ByteString as S -import Crypto.Hash #ifdef WITH_CRYPTONITE -import Crypto.MAC.HMAC +import "cryptonite" Crypto.MAC.HMAC +import "cryptonite" Crypto.Hash +#else +import "cryptohash" Crypto.Hash #endif sha1 :: L.ByteString -> Digest SHA1 |