fix build with unix-2.8.0

It made UserInfo into a pattern to discourage manually constructing
them, so just to use UserInfo in a type signature of a function that
consumes them, have to import the new ByteString module.
This commit is contained in:
Joey Hess 2023-08-01 17:47:30 -04:00
parent d76f088dc4
commit 63f76d0ac3
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -20,6 +20,9 @@ import Utility.Exception
import Utility.Data
import Control.Applicative
import System.Posix.User
#if MIN_VERSION_unix(2,8,0)
import System.Posix.User.ByteString (UserEntry)
#endif
#endif
import Prelude