summaryrefslogtreecommitdiff
path: root/utils/hpc/hpc-bin.cabal
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-03-17 18:09:18 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2015-03-17 18:17:27 +0100
commit801f4b98fa5198ab7e033949dd84aaae00162993 (patch)
tree4efda91a9cf063b614c47bd4cd8be44872f77469 /utils/hpc/hpc-bin.cabal
parent86eff3d92ffa3c9be29e037c01fd9b3fec8976e7 (diff)
downloadhaskell-801f4b98fa5198ab7e033949dd84aaae00162993.tar.gz
hpc: use System.FilePath.(</>) instead of (++)
Summary: BAD: "." ++ "/" ++ "/absolute/path" == ".//absolute/path" GOOD: "." </> "/absolute/path" == "/absolute path" Also replace `++ ".ext"` with `<.> "ext"`. Although it doesn't fix any bugs in this instance, it might in some other. As a general rule it's better not to use (++) on FilePaths. Reviewed By: austin, hvr Differential Revision: https://phabricator.haskell.org/D703 GHC Trac Issues: #10138
Diffstat (limited to 'utils/hpc/hpc-bin.cabal')
-rw-r--r--utils/hpc/hpc-bin.cabal1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/hpc/hpc-bin.cabal b/utils/hpc/hpc-bin.cabal
index 8ec6e5b790..0257fb99c7 100644
--- a/utils/hpc/hpc-bin.cabal
+++ b/utils/hpc/hpc-bin.cabal
@@ -43,6 +43,7 @@ Executable hpc
if flag(base3) || flag(base4)
Build-Depends: directory >= 1 && < 1.3,
+ filepath >= 1 && < 1.5,
containers >= 0.1 && < 0.6,
array >= 0.1 && < 0.6
Build-Depends: hpc