Note: This channel on freenode is currently not being logged anymore. The logs are reproduced here for posterity.

2020-09-16 18:24:11 +0200lembot(~lembot@179.8.176.163) (Ping timeout: 240 seconds)
2020-09-16 18:24:27 +0200Sunblaze211(~sanjay@116.72.69.116) ()
2020-09-16 18:24:59 +0200hyperisco(~hyperisco@d192-186-117-226.static.comm.cgocable.net) (Ping timeout: 240 seconds)
2020-09-16 18:26:07 +0200darjeeling_(~darjeelin@115.215.41.222) (Ping timeout: 260 seconds)
2020-09-16 18:26:37 +0200darjeeling_(~darjeelin@115.215.41.222)
2020-09-16 18:26:53 +0200geekosaur(42d52102@66.213.33.2)
2020-09-16 18:27:52 +0200fendor__(~fendor@e237-037.eduroam.tuwien.ac.at)
2020-09-16 18:28:13 +0200lep-delete(~lep@94.31.81.195)
2020-09-16 18:30:53 +0200twopoint718(~cjw@fsf/member/twopoint718)
2020-09-16 18:30:57 +0200fendor_(~fendor@t204-126.demo.tuwien.ac.at) (Ping timeout: 272 seconds)
2020-09-16 18:31:25 +0200ericsagnes(~ericsagne@2405:6580:0:5100:b5d3:3ef5:f8bb:6d43) (Ping timeout: 240 seconds)
2020-09-16 18:31:33 +0200rembo10(~rembo10@wally.codeshy.com) (Quit: ZNC 1.8.1 - https://znc.in)
2020-09-16 18:32:39 +0200rembo10(~rembo10@wally.codeshy.com)
2020-09-16 18:32:58 +0200lep-delete(~lep@94.31.81.195) (Ping timeout: 265 seconds)
2020-09-16 18:33:37 +0200lep-delete(~lep@94.31.81.195)
2020-09-16 18:34:13 +0200heatsink(~heatsink@2600:1700:bef1:5e10:99ca:18ad:4e5f:ffdf) (Remote host closed the connection)
2020-09-16 18:36:40 +0200Guest_88(4e1fbb56@78.31.187.86)
2020-09-16 18:37:26 +0200Dara(~Dara_Simc@gateway/tor-sasl/aaliya) (Remote host closed the connection)
2020-09-16 18:37:30 +0200 <Guest_88> Hello?
2020-09-16 18:38:00 +0200 <geekosaur> hello
2020-09-16 18:38:11 +0200knupfer(~Thunderbi@200116b82ca8150035b8cfb2c5bc8e11.dip.versatel-1u1.de)
2020-09-16 18:38:24 +0200 <Guest_88> is there anyone who could help me with ghc installation on macos?
2020-09-16 18:40:12 +0200rapskalian(~user@2601:804:8400:5750:6d07:cb01:64a9:36bb) (Ping timeout: 244 seconds)
2020-09-16 18:41:15 +0200 <sm[m]> sure Guest_88, what problem are you having
2020-09-16 18:41:38 +0200tzh(~tzh@2601:448:c500:5300::ad1c)
2020-09-16 18:42:07 +0200lep-delete(~lep@94.31.81.195) (Ping timeout: 246 seconds)
2020-09-16 18:43:25 +0200acidjnk_new2(~acidjnk@p200300d0c73658171887db1a128e4af1.dip0.t-ipconnect.de) (Ping timeout: 240 seconds)
2020-09-16 18:43:28 +0200lep-delete(~lep@94.31.81.195)
2020-09-16 18:44:00 +0200kritzefitz(~kritzefit@212.86.56.80)
2020-09-16 18:44:54 +0200rapskalian(~user@2601:804:8400:5750:6d07:cb01:64a9:36bb)
2020-09-16 18:47:01 +0200ericsagnes(~ericsagne@i153-145-14-232.s42.a013.ap.plala.or.jp)
2020-09-16 18:47:48 +0200puffnfresh_(~puffnfres@45.76.124.5) (Ping timeout: 260 seconds)
2020-09-16 18:47:57 +0200concept26(~concept2@unaffiliated/tubo)
2020-09-16 18:48:10 +0200puffnfresh_(~puffnfres@45.76.124.5)
2020-09-16 18:49:07 +0200ephemera_(~E@122.34.1.187) (Remote host closed the connection)
2020-09-16 18:49:34 +0200vk3wtf(~doc@27-32-252-91.tpgi.com.au) (Ping timeout: 260 seconds)
2020-09-16 18:50:01 +0200takuan(~takuan@178-116-218-225.access.telenet.be)
2020-09-16 18:50:02 +0200vk3wtf(~doc@27-32-252-91.tpgi.com.au)
2020-09-16 18:50:09 +0200concept2(~concept2@unaffiliated/tubo) (Ping timeout: 260 seconds)
2020-09-16 18:50:09 +0200Jonno_FTW(~come@api.carswap.me) (Ping timeout: 260 seconds)
2020-09-16 18:50:09 +0200concept26concept2
2020-09-16 18:50:18 +0200Jonno_FTW(~come@api.carswap.me)
2020-09-16 18:50:24 +0200ephemera_(~E@122.34.1.187)
2020-09-16 18:50:43 +0200thunderrd(~thunderrd@183.182.112.240)
2020-09-16 18:51:53 +0200lep-delete(~lep@94.31.81.195) (Ping timeout: 260 seconds)
2020-09-16 18:52:37 +0200lep-delete(~lep@94.31.81.195)
2020-09-16 18:53:06 +0200cole-h(~cole-h@c-73-48-197-220.hsd1.ca.comcast.net)
2020-09-16 18:55:28 +0200thunderrd(~thunderrd@183.182.112.240) (Remote host closed the connection)
2020-09-16 18:56:53 +0200thunderrd(~thunderrd@183.182.112.240)
2020-09-16 18:59:31 +0200 <maerwald> well, the tension is unbearable now
2020-09-16 19:04:48 +0200 <Guest_88> sm[m] I'm trying to install ghc8.8 on my system using brew, but for some reason i cant seem to be able to link it so i can use it in shell. ghc 8.10 is already present on the system and im currently using it
2020-09-16 19:05:21 +0200 <sm[m]> what reason does brew give ?
2020-09-16 19:05:35 +0200eric(~eric@2804:431:c7d4:b75:ca9:61ff:102f:e332)
2020-09-16 19:05:50 +0200eric(~eric@2804:431:c7d4:b75:ca9:61ff:102f:e332) (Remote host closed the connection)
2020-09-16 19:06:22 +0200 <Guest_88> that 8.8 is keg only and i need to link it using --force
2020-09-16 19:07:16 +0200 <sm[m]> I see.. not that you already have some files in the way ?
2020-09-16 19:07:24 +0200geekosaur(42d52102@66.213.33.2) (Remote host closed the connection)
2020-09-16 19:08:55 +0200 <Guest_88> Warning: ghc@8.8 is keg-only and must be linked with --forceIf you need to have this software first in your PATH instead consider running:
2020-09-16 19:09:08 +0200geekosaur(42d52102@66.213.33.2)
2020-09-16 19:09:08 +0200 <Guest_88> and there is a command for PATH then
2020-09-16 19:09:22 +0200 <Guest_88> but i tried running it, nothing happens
2020-09-16 19:09:46 +0200Lord_of_Life_(~Lord@unaffiliated/lord-of-life/x-0885362)
2020-09-16 19:10:00 +0200 <sm[m]> are you doing brew install ghc@8.8 ? And you also have done brew install ghc to get 8.10 ?
2020-09-16 19:10:27 +0200 <Guest_88> yes
2020-09-16 19:10:30 +0200 <Guest_88> to both questions
2020-09-16 19:10:51 +0200wroathe(~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) (Ping timeout: 272 seconds)
2020-09-16 19:10:55 +0200Lord_of_Life(~Lord@unaffiliated/lord-of-life/x-0885362) (Ping timeout: 260 seconds)
2020-09-16 19:11:08 +0200Lord_of_Life_Lord_of_Life
2020-09-16 19:11:32 +0200 <sm[m]> I think that's going to be inconvenient, brew assumes only one ghc in PATH at a time. You'd have to rename one or something. Have you considered installing versioned ghcs with stack or ghcup ?
2020-09-16 19:11:54 +0200 <sm[m]> it's just an idea, not necessarily advice
2020-09-16 19:12:31 +0200 <Guest_88> tried ghcup
2020-09-16 19:13:45 +0200 <Guest_88> but it didnt install correctly for some reason
2020-09-16 19:14:03 +0200 <maerwald> Guest_88: in what sense
2020-09-16 19:14:08 +0200 <sm[m]> let me introduce you to my colleague maerwald :)
2020-09-16 19:14:25 +0200 <Guest_88> when tried to check ghc --version or ghci, it said that some directories are not present
2020-09-16 19:14:45 +0200 <maerwald> Guest_88: did you add ~/.ghcup/bin to your PATH?
2020-09-16 19:15:07 +0200 <maerwald> you seem to have various ghcs floating around
2020-09-16 19:15:16 +0200 <maerwald> so it's not clear which you ran
2020-09-16 19:15:24 +0200 <Guest_88> yes, exactly
2020-09-16 19:15:48 +0200 <Guest_88> and when i installed with brew and linked it, everything went into places, but now im stuck with 8.10
2020-09-16 19:15:58 +0200 <maerwald> ~/.ghcup/bin/ghci should work
2020-09-16 19:16:11 +0200balbirs(~balbirs__@bilbo.ozlabs.org) (Ping timeout: 244 seconds)
2020-09-16 19:16:44 +0200v0d1ch(~v0d1ch@cable-178-148-120-241.dynamic.sbb.rs) (Ping timeout: 256 seconds)
2020-09-16 19:16:47 +0200 <sm[m]> and remove or unlink all the brew ghcs ?
2020-09-16 19:17:05 +0200 <Guest_88> to the question earlier, did i add path - yes, i think so, when ghcup installation prompted me to add it, i answered Yes
2020-09-16 19:17:14 +0200 <maerwald> that doesn't mean it worked
2020-09-16 19:17:26 +0200 <Guest_88> oh wow
2020-09-16 19:17:31 +0200 <Guest_88> that command worked
2020-09-16 19:17:34 +0200fendor__(~fendor@e237-037.eduroam.tuwien.ac.at) (Remote host closed the connection)
2020-09-16 19:17:40 +0200 <Guest_88> im using 8.8
2020-09-16 19:18:00 +0200 <Guest_88> but now how do i set it as default or something
2020-09-16 19:18:09 +0200 <maerwald> Guest_88: what worked?
2020-09-16 19:18:22 +0200 <Guest_88> ~/.ghcup/bin/ghci
2020-09-16 19:18:29 +0200bitmagie(~Thunderbi@200116b80627700048edc627a4bede6a.dip.versatel-1u1.de)
2020-09-16 19:18:29 +0200 <maerwald> what shell are you running?
2020-09-16 19:19:12 +0200 <Guest_88> bash? is that what you are asking
2020-09-16 19:19:23 +0200 <yushyin> echo $SHELL
2020-09-16 19:19:41 +0200 <maerwald> add "[[ -f ~/.bashrc ]] && source ~/.bashrc" to ~/.bash_profile and "source ~/.ghcup/env" to ~/.bashrc
2020-09-16 19:19:52 +0200 <maerwald> then open a new shell
2020-09-16 19:20:49 +0200 <Guest_88> am i doing something wrong, or add isnt a command?