From: Joey Hess Date: Mon, 21 Jul 2025 16:26:45 +0000 (-0400) Subject: fix build with OsPath build flag X-Git-Tag: archive/raspbian/10.20251029-1+rpi1~1^2~7^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ba24f78626cb40a507d35ae670e8437d0d32a654;p=git-annex.git fix build with OsPath build flag --- 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.