From 4d7bdd00473d3c47a7ecc4366c1a39abecad45a1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 29 Jan 2025 14:59:00 -0400 Subject: [PATCH] windows build fix --- Utility/OsPath.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utility/OsPath.hs b/Utility/OsPath.hs index c2388ed940..d008a9a373 100644 --- a/Utility/OsPath.hs +++ b/Utility/OsPath.hs @@ -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.