Skip to content

Commit

Permalink
installedPackageId changed in Cabal 1.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mzero committed Jun 3, 2015
1 parent 395f4b5 commit 4112a86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hptool/src/OS/Win.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# LANGUAGE RecordWildCards, OverloadedStrings #-}
{-# LANGUAGE CPP, RecordWildCards, OverloadedStrings #-}

module OS.Win
( winOsFromConfig
Expand All @@ -11,7 +11,9 @@ import qualified Data.ByteString.Char8 as B8
import qualified Data.Text as T
import Development.Shake
import Development.Shake.FilePath
#if !MIN_VERSION_Cabal(1,22,0)
import qualified Distribution.InstalledPackageInfo as C
#endif
import qualified Distribution.Package as C

import Dirs
Expand Down

0 comments on commit 4112a86

Please sign in to comment.