projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76f088
)
fix build with unix-2.8.0
author
Joey Hess
<joeyh@joeyh.name>
Tue, 1 Aug 2023 21:47:30 +0000
(17:47 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Tue, 1 Aug 2023 21:47:30 +0000
(17:47 -0400)
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.
Utility/UserInfo.hs
patch
|
blob
|
history
diff --git
a/Utility/UserInfo.hs
b/Utility/UserInfo.hs
index 5001785734e1dff12603b1d2dba38c99a67e866b..b2c4ddaaf82eae240f39bb83fb8c60b6d37215fe 100644
(file)
--- a/
Utility/UserInfo.hs
+++ b/
Utility/UserInfo.hs
@@
-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