File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,33 @@ You'll need to do the following to get `hackage-server`'s dependency `hs-captcha
89
89
90
90
nix-shell --packages zlib
91
91
92
+ #### Mac OS X
93
+
94
+ In addition to the above commands, you'll need to run
95
+
96
+ ``` bash
97
+ brew install pkg-config
98
+ ```
99
+
100
+ After running the above ` brew install ` commands, you also need to update ` cabal.project.local ` with the following:
101
+
102
+ ``` bash
103
+ cat >> cabal.project.local << EOF
104
+ package gd
105
+ extra-include-dirs:
106
+ $( echo $( brew --prefix) /Cellar/gd/* /include)
107
+ extra-lib-dirs:
108
+ $( echo $( brew --prefix) /Cellar/gd/* /lib)
109
+ $( echo $( brew --prefix) /Cellar/libpng/* /lib)
110
+ $( echo $( brew --prefix) /Cellar/jpeg-turbo/* /lib)
111
+ $( echo $( brew --prefix) /Cellar/fontconfig/* /lib)
112
+ $( echo $( brew --prefix) /Cellar/freetype/* /lib)
113
+
114
+ constraints:
115
+ , HsOpenSSL +use-pkg-config
116
+ EOF
117
+ ```
118
+
92
119
93
120
## Setting up security infrastructure
94
121
You can’t perform that action at this time.
0 commit comments