This repository was archived by the owner on Feb 3, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 280
280
# ## Set up /usr
281
281
# ##
282
282
283
- symLinkInto $ghcRoot /usr/bin/* /usr/bin
284
- symLinkInto $ghcRoot /usr/share/man/man1/* /usr/share/man/man1
285
- symLinkInto $ghcRoot /usr/share/doc/ghc /usr/share/doc
283
+ symLinkInto $ghcRoot /usr/bin/* /usr/local/ bin
284
+ symLinkInto $ghcRoot /usr/share/man/man1/* /usr/local/ share/man/man1
285
+ symLinkInto $ghcRoot /usr/share/doc/ghc /usr/local/ share/doc
286
286
287
287
if [ -d " $hpRoot " ] ; then
288
- symLinkInto $hpRoot /bin/* /usr/bin
288
+ symLinkInto $hpRoot /bin/* /usr/local/ bin
289
289
fi
290
290
291
291
@@ -327,7 +327,7 @@ if [ -f "$settingsFile" ] ; then
327
327
else
328
328
cmd=$( extractSetting " C compiler command" )
329
329
if [ " $( determineCompiler $cmd ) " = " clang" ] ; then
330
- wrapperCmd=/usr/bin/ghc-clang-wrapper
330
+ wrapperCmd=/usr/local/ bin/ghc-clang-wrapper
331
331
if [ -f " $wrapperCmd " -a -e " $wrapperCmd " ] ; then
332
332
updateSetting " C compiler command" " $wrapperCmd "
333
333
else
353
353
if [ -d " $hpRoot " ] ; then
354
354
for conf in $hpRoot /lib/registrations/*
355
355
do
356
- run /usr/bin/ghc-pkg register --verbose=0 --force $conf 2> /dev/null
356
+ run /usr/local/ bin/ghc-pkg register --verbose=0 --force $conf 2> /dev/null
357
357
done
358
358
fi
359
359
Original file line number Diff line number Diff line change 1
- #!/usr/bin/env runghc
1
+ #!/usr/local/ bin/env runghc
2
2
3
3
module Main where
4
4
Original file line number Diff line number Diff line change 119
119
< p > On Mac OS X , the Haskell Platform is installed in two major pieces : GHC and Haskell Platform . They are installed respectively in :< / p >
120
120
< p class = "paths" > / Library / Frameworks / GHC . framework
121
121
< br / > / Library / Haskell < / p >
122
- < p > Executables are symlinked in < tt > / usr / bin < / tt > and should be available in any shell . < / p >
122
+ < p > Executables are symlinked in < tt > / usr / local / bin < / tt > and should be available in any shell . < / p >
123
123
124
124
< h2 > Versions & ; Uninstallation < / h2 >
125
125
< p > This and prior versions of GHC and Haskell Platform can be found and then easily removed with the uninstallation command line utility :< / p >
You can’t perform that action at this time.
0 commit comments