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:
parent
d76f088dc4
commit
63f76d0ac3
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ import Utility.Exception
|
||||||
import Utility.Data
|
import Utility.Data
|
||||||
import Control.Applicative
|
import Control.Applicative
|
||||||
import System.Posix.User
|
import System.Posix.User
|
||||||
|
#if MIN_VERSION_unix(2,8,0)
|
||||||
|
import System.Posix.User.ByteString (UserEntry)
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
import Prelude
|
import Prelude
|
||||||
|
|
Loading…
Add table
Reference in a new issue