more OsPath conversion (542/749)

Sponsored-by: Luke T. Shumaker
This commit is contained in:
Joey Hess 2025-02-06 11:38:14 -04:00
parent 0d2b805806
commit 0811531b59
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
13 changed files with 127 additions and 116 deletions

View file

@ -107,6 +107,9 @@ instance FromConfigValue S.ByteString where
instance FromConfigValue String where
fromConfigValue = decodeBS . fromConfigValue
instance FromConfigValue OsPath where
fromConfigValue v = toOsPath (fromConfigValue v :: S.ByteString)
instance Show ConfigValue where
show = fromConfigValue