From ba24f78626cb40a507d35ae670e8437d0d32a654 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 21 Jul 2025 12:26:45 -0400 Subject: [PATCH] fix build with OsPath build flag --- Command/P2PHttp.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/P2PHttp.hs b/Command/P2PHttp.hs index 910b0151c5..140b2d4c94 100644 --- a/Command/P2PHttp.hs +++ b/Command/P2PHttp.hs @@ -302,7 +302,7 @@ findRepos o = do -- cycles and in case there is an unexpected -- symlink to some other directory we are not -- supposed to serve. - ifM (isSymbolicLink <$> R.getSymbolicLinkStatus f) + ifM (isSymbolicLink <$> R.getSymbolicLinkStatus (fromOsPath f)) ( return [] -- Ignore any errors getting the contents of a -- subdirectory.