fix build with OsPath build flag

This commit is contained in:
Joey Hess 2025-07-21 12:26:45 -04:00
parent de6c5b6885
commit ba24f78626
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -302,7 +302,7 @@ findRepos o = do
-- cycles and in case there is an unexpected -- cycles and in case there is an unexpected
-- symlink to some other directory we are not -- symlink to some other directory we are not
-- supposed to serve. -- supposed to serve.
ifM (isSymbolicLink <$> R.getSymbolicLinkStatus f) ifM (isSymbolicLink <$> R.getSymbolicLinkStatus (fromOsPath f))
( return [] ( return []
-- Ignore any errors getting the contents of a -- Ignore any errors getting the contents of a
-- subdirectory. -- subdirectory.