windows build fix

This commit is contained in:
Joey Hess 2025-01-29 14:59:00 -04:00
parent 4e999af7ac
commit 4d7bdd0047
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -98,7 +98,7 @@ getSearchPath = map toOsPath <$> PB.getSearchPath
{- Used for string constants. -}
literalOsPath :: ShortByteString -> OsPath
literalOsPath = bytesToOsPath
literalOsPath = toOsPath
#else
{- When not building with WITH_OSPATH, use RawFilePath.