Skip to content

Commit

Permalink
Fix TH dependency parsing on Windows (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
borsboom committed Aug 9, 2015
1 parent 0279264 commit 1ad1359
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Stack/Package.hs
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,7 @@ resolveFilesAndDeps ty component dirs names0 exts = do
(parseAbsOrRelFile dir <=<
(fmap T.unpack .
(T.stripSuffix "\"" <=< T.stripPrefix "\"") .
T.dropWhileEnd (== '\r') .
decodeUtf8 . C8.dropWhile (/= '"'))) $
filter ("addDependentFile \"" `C8.isPrefixOf`) dumpHI
Modules -> []
Expand Down

0 comments on commit 1ad1359

Please sign in to comment.