Permalink
Browse files

Use PackageImports to work around cryptohash-sha1

  • Loading branch information...
snoyberg committed Jan 2, 2017
1 parent 0d37ecd commit 91ee923513b6464a49f02fdc0738202e7b4a907a
Showing with 9 additions and 2 deletions.
  1. +6 −0 ChangeLog.md
  2. +2 −1 System/Executable/Hash/Internal.hs
  3. +1 −1 executable-hash.cabal
View
@@ -1,3 +1,9 @@
+0.2.0.3
+=======
+
+Add a `PackageImport` to avoid conflicting module names for `Crypto.Hash.SHA1`
+introduced by the `cryptohash-sha1` package.
+
0.2.0.0
=======
@@ -1,3 +1,4 @@
+{-# LANGUAGE PackageImports #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings #-}
@@ -6,7 +7,7 @@
module System.Executable.Hash.Internal where
import Control.Exception (SomeException, handle)
-import Crypto.Hash.SHA1 (hash)
+import "cryptohash" Crypto.Hash.SHA1 (hash)
import qualified Data.ByteString as BS
import Data.FileEmbed (dummySpaceWith, injectWith)
import Language.Haskell.TH (Q, Exp)
View
@@ -1,5 +1,5 @@
name: executable-hash
-version: 0.2.0.2
+version: 0.2.0.3
synopsis: Provides the SHA1 hash of the program executable
description: See README.md
homepage: https://github.com/fpco/executable-hash

0 comments on commit 91ee923

Please sign in to comment.