Skip to content

Commit aba33cd

Browse files
Mikolajhasufell
andcommitted
Update hackage-security/src/Hackage/Security/Util/Path.hs for compat with old GHCs
Co-authored-by: Julian Ospald <[email protected]>
1 parent 83b832f commit aba33cd

File tree

1 file changed

+1
-1
lines changed
  • hackage-security/src/Hackage/Security/Util

1 file changed

+1
-1
lines changed

hackage-security/src/Hackage/Security/Util/Path.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ makeAbsolute (FsPath p) = mkPathNative <$> toAbsoluteFilePath p
295295
fromAbsoluteFilePath :: FilePath -> Path Absolute
296296
fromAbsoluteFilePath fp
297297
| FP.Native.isAbsolute fp = mkPathNative fp
298-
| otherwise = error ("fromAbsoluteFilePath: not an absolute path: " <> fp)
298+
| otherwise = error ("fromAbsoluteFilePath: not an absolute path: " ++ fp)
299299

300300
{-------------------------------------------------------------------------------
301301
Wrappers around System.IO

0 commit comments

Comments
 (0)