Skip to content

Commit

Permalink
Use PackageImports to work around cryptohash-sha1
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Jan 2, 2017
1 parent 0d37ecd commit 91ee923
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -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
=======

Expand Down
3 changes: 2 additions & 1 deletion System/Executable/Hash/Internal.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE PackageImports #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings #-}

Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion executable-hash.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 91ee923

Please sign in to comment.