2023/09/23

2023-09-23 01:12:07 +0200terrorjack(~terrorjac@2a01:4f8:c17:87f8::) (Quit: The Lounge - https://thelounge.chat)
2023-09-23 01:16:40 +0200terrorjack(~terrorjac@2a01:4f8:c17:87f8::)
2023-09-23 01:50:11 +0200mvk(~mvk@2607:fea8:5c9a:a600::848d)
2023-09-23 02:41:02 +0200hrberg(~quassel@171.79-160-161.customer.lyse.net) (Ping timeout: 255 seconds)
2023-09-23 02:41:31 +0200hrberg(~quassel@171.79-160-161.customer.lyse.net)
2023-09-23 02:55:40 +0200mvk(~mvk@2607:fea8:5c9a:a600::848d) (Quit: Going elsewhere)
2023-09-23 03:27:49 +0200tremon(~tremon@83.80.159.219) (Quit: getting boxed in)
2023-09-23 04:02:35 +0200hightower3(~hightower@141-136-211-208.dsl.iskon.hr)
2023-09-23 04:05:07 +0200hightower2(~hightower@141-136-157-135.dsl.iskon.hr) (Ping timeout: 260 seconds)
2023-09-23 04:15:18 +0200td_(~td@i5387090B.versanet.de) (Ping timeout: 252 seconds)
2023-09-23 04:16:50 +0200td_(~td@i5387093D.versanet.de)
2023-09-23 12:02:43 +0200hightower3(~hightower@141-136-211-208.dsl.iskon.hr) (Ping timeout: 264 seconds)
2023-09-23 12:09:30 +0200 <haskellbridge> <s​cholablade> Hello
2023-09-23 12:10:32 +0200 <haskellbridge> <s​cholablade> Am following the install XMonad tutorial and got a problem, it won't let me install GHC dedicated to XMonad saying:
2023-09-23 12:10:33 +0200 <haskellbridge> <s​cholablade> ```
2023-09-23 12:10:34 +0200 <haskellbridge> <s​cholablade> No compiler found, expected minor version match with ghc-9.4.7 (x86_64-tinfo6-libc6-pre232) (based on resolver setting in /home/rextheman/.config/xmonad/stack.yaml).
2023-09-23 12:10:36 +0200 <haskellbridge> <s​cholablade> ```
2023-09-23 12:28:00 +0200hightower2(~hightower@85.94.71.188)
2023-09-23 14:11:30 +0200 <haskellbridge> <S​olid> scholablade What distro are you running? How did you install GHC?
2023-09-23 14:11:53 +0200 <haskellbridge> <s​cholablade> Ubuntu 20.04, GHCup
2023-09-23 14:12:45 +0200 <haskellbridge> <S​olid> I suppose you enabled GHCs "stack integration"? This basically keeps stack from installing new GHC versions, and you'll either have to adjust the stackage resolver, or install the relevant GHC version via ghcup yourself
2023-09-23 14:13:13 +0200 <haskellbridge> <S​olid> However, I guess we can also update our resolver, since Stackage has one for 9.4.7 now :)
2023-09-23 14:14:44 +0200 <haskellbridge> <s​cholablade> I think so since, I have in .stack/config.yaml ```system-ghc: true
2023-09-23 14:14:45 +0200 <haskellbridge> <s​cholablade> install-ghc: false ```
2023-09-23 14:15:05 +0200 <haskellbridge> <S​olid> Yeah, this is what keeps stack from installing its own GHC version(s)
2023-09-23 14:15:50 +0200 <haskellbridge> <s​cholablade> Am gonna download GHC 9.4.7 from GHCup and report back if it works
2023-09-23 14:15:55 +0200todi(~todi@pd957150f.dip0.t-ipconnect.de) (Ping timeout: 264 seconds)
2023-09-23 14:16:13 +0200 <haskellbridge> <S​olid> I think that you have 9.4.7, but our lts resolver is 21.6, which is on 9.4.6
2023-09-23 14:17:04 +0200 <haskellbridge> <s​cholablade> In GHCup i have 9.2.8
2023-09-23 14:17:10 +0200 <haskellbridge> <s​cholablade> In GHCup i have 9.2.8 downloaded
2023-09-23 14:17:20 +0200 <haskellbridge> <S​olid> ah, fair enough
2023-09-23 14:17:53 +0200 <haskellbridge> <S​olid> (though this reminds me that I wanted to bump the resolver to 21.12 anyways, since that uses 9.4.7 proper)
2023-09-23 14:20:48 +0200 <xmonadtrack> xmonad Tony Zorman * v0.17.2-89-g327c2cf: stack: Bump resolver to lts-21.12 (7 minutes ago, 1 file, 1+ 1-) https://github.com/xmonad/xmonad/commit/327c2cf0c14f
2023-09-23 14:20:50 +0200 <xmonadtrack> xmonad-contrib Tony Zorman * v0.17.1-182-g7bb1f0b8: stack: Bump resolver to lts-21.12 (6 minutes ago, 1 file, 1+ 1-) https://github.com/xmonad/xmonad-contrib/commit/7bb1f0b8876b
2023-09-23 14:32:09 +0200todi(~todi@pd957150f.dip0.t-ipconnect.de)
2023-09-23 16:04:09 +0200ectospasm(~ectospasm@user/ectospasm) (Quit: WeeChat 4.0.4)
2023-09-23 16:19:13 +0200geekosaur(~geekosaur@xmonad/geekosaur) (Quit: Leaving)
2023-09-23 16:20:14 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack) (Remote host closed the connection)
2023-09-23 16:20:26 +0200haskellbridge(~haskellbr@069-135-003-034.biz.spectrum.com) (Remote host closed the connection)
2023-09-23 16:21:13 +0200ectospasm(~ectospasm@user/ectospasm)
2023-09-23 16:22:16 +0200geekosaur(~geekosaur@xmonad/geekosaur)
2023-09-23 16:23:29 +0200haskellbridge(~haskellbr@069-135-003-034.biz.spectrum.com)
2023-09-23 16:23:29 +0200haskellbridge(~haskellbr@069-135-003-034.biz.spectrum.com) (Read error: Connection reset by peer)
2023-09-23 16:23:39 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com)
2023-09-23 16:23:39 +0200xmonadtrack(~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host)
2023-09-23 16:23:39 +0200xmonadtrack(~xmonadtra@user/geekosaur/bot/xmonadtrack)
2023-09-23 16:23:57 +0200haskellbridge(~haskellbr@069-135-003-034.biz.spectrum.com)
2023-09-23 17:25:18 +0200chomwitt(~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1)
2023-09-23 17:42:36 +0200tremon(~tremon@83.80.159.219)
2023-09-23 18:58:14 +0200todi(~todi@pd957150f.dip0.t-ipconnect.de) (Quit: ZNC - https://znc.in)
2023-09-23 20:02:05 +0200Guest14(~Guest14@net-93-70-100-69.cust.vodafonedsl.it)
2023-09-23 20:02:16 +0200Guest14(~Guest14@net-93-70-100-69.cust.vodafonedsl.it) (Client Quit)
2023-09-23 20:45:21 +0200 <haskellbridge> <s​cholablade> Solid: I have downloaded in GHCup, GHC 9.4.7, yet i still get the same error.
2023-09-23 20:54:31 +0200 <geekosaur> modern stack (2.9.3 and later at least) should use ghcup to install ghc, aiui, rather than requiring the `system-ghc: true` hack
2023-09-23 20:56:25 +0200 <geekosaur> that said, I don't use stack so I doubt I can help much
2023-09-23 20:57:11 +0200 <haskellbridge> <s​cholablade> I have version 2.11.1
2023-09-23 20:57:25 +0200td_(~td@i5387093D.versanet.de) (Quit: waking up from the american dream ...)
2023-09-23 20:59:47 +0200 <geekosaur> if you are using `system-ghc: true` then you need to make sure ~/.ghcup/bin is in your `$PATH`; if you just installed ghcup without opening a new terminal or logging out/back in then you need `source ~/.ghcup/env` iirc
2023-09-23 21:00:00 +0200td_(~td@i5387093D.versanet.de)
2023-09-23 21:09:49 +0200 <geekosaur> mm, I just followed the stack INSTALL instructions in my sandbox and it's installing ghc correctly. what's your stack.yaml look like?
2023-09-23 21:09:53 +0200 <geekosaur> @where paste
2023-09-23 21:09:53 +0200 <lambdabot> Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com
2023-09-23 21:10:16 +0200 <geekosaur> (please don't just blat it into matrix, irc can't handle it)
2023-09-23 21:10:22 +0200 <haskellbridge> <s​cholablade> Okay
2023-09-23 21:11:33 +0200 <haskellbridge> <s​cholablade> https://paste.tomsmeding.com/hNb5EqBM
2023-09-23 21:12:59 +0200 <geekosaur> okay, same as I'm using. it should work
2023-09-23 21:14:51 +0200 <haskellbridge> <s​cholablade> Full error message: https://paste.tomsmeding.com/IZheZ6eM
2023-09-23 21:17:37 +0200 <geekosaur> odd. it should have simply installed a ghc, via ghcup if you told it to install the stack hook
2023-09-23 21:17:53 +0200 <geekosaur> that error should only happen with `system-ghc: true`
2023-09-23 21:20:58 +0200 <geekosaur> I'm tempted to ask what ~/.stack/config.yaml has in it, but I'd be surprised if you had touched it
2023-09-23 21:21:04 +0200 <haskellbridge> <s​cholablade> I do have system:ghc true
2023-09-23 21:21:18 +0200 <haskellbridge> <s​cholablade> https://paste.tomsmeding.com/lZRjNuOw
2023-09-23 21:21:41 +0200 <haskellbridge> <s​cholablade> Stack downloading ghc every time is something i didn't want to happen
2023-09-23 21:21:42 +0200 <geekosaur> huh
2023-09-23 21:21:54 +0200 <geekosaur> https://www.haskell.org/ghcup/guide/#stack-integration
2023-09-23 21:22:25 +0200 <geekosaur> how to tell stack to use ghcup, in which case it should use the ghc you have already installed that way
2023-09-23 21:22:38 +0200 <geekosaur> meanwhile, what does `which ghc` say?
2023-09-23 21:23:07 +0200 <haskellbridge> <s​cholablade> It says
2023-09-23 21:23:08 +0200 <haskellbridge> <s​cholablade> ```
2023-09-23 21:23:09 +0200 <haskellbridge> <s​cholablade> /usr/bin/ghc
2023-09-23 21:23:10 +0200 <haskellbridge> <s​cholablade> ```
2023-09-23 21:23:22 +0200 <geekosaur> uh
2023-09-23 21:23:41 +0200 <geekosaur> remove the ubuntu ghc package, it's hiding the one you want
2023-09-23 21:23:46 +0200 <geekosaur> and is version 8.l6.5
2023-09-23 21:23:50 +0200 <geekosaur> 8.6.5
2023-09-23 21:26:19 +0200 <haskellbridge> <s​cholablade> The same issue
2023-09-23 21:26:39 +0200 <geekosaur> run `hash -r`, then `which ghc` again
2023-09-23 21:26:42 +0200 <haskellbridge> <s​cholablade> I have delete the ghc package provided by Ubuntu but still
2023-09-23 21:27:07 +0200 <haskellbridge> <s​cholablade> which ghc doesn't output anything
2023-09-23 21:27:30 +0200 <haskellbridge> <s​cholablade> though
2023-09-23 21:27:38 +0200 <geekosaur> okay,k did you source the env file like ghcup should have told you to do?
2023-09-23 21:27:46 +0200 <haskellbridge> <s​cholablade> when i set GHCup, it gives me: /home/rextheman/.ghcup/bin/ghc
2023-09-23 21:28:25 +0200 <geekosaur> `source ~/.ghcup/env`
2023-09-23 21:29:25 +0200 <geekosaur> (I hope you're not running fish as your shell, I have no idea how you convince it to set `$PATH` properly)
2023-09-23 21:29:39 +0200 <haskellbridge> <s​cholablade> It's Bash
2023-09-23 21:29:54 +0200 <haskellbridge> <s​cholablade> It's sourced
2023-09-23 21:30:05 +0200 <geekosaur> now do `which ghc` again
2023-09-23 21:30:21 +0200 <haskellbridge> <s​cholablade> '/home/rextheman/.ghcup/bin/ghc'
2023-09-23 21:30:32 +0200 <geekosaur> okay. you should be set now
2023-09-23 21:31:08 +0200 <haskellbridge> <s​cholablade> I still get the same error
2023-09-23 21:31:23 +0200 <geekosaur> are you doing that in the same or a different window?
2023-09-23 21:31:32 +0200 <haskellbridge> <s​cholablade> Same
2023-09-23 21:31:53 +0200 <geekosaur> what does `ghc --numeric-version` say?
2023-09-23 21:33:36 +0200 <haskellbridge> <s​cholablade> Error and telling me to install ghc
2023-09-23 21:34:07 +0200 <geekosaur> did you `hash -r`?
2023-09-23 21:34:12 +0200 <haskellbridge> <s​cholablade> which ghc only works if i do "set" in ghcup
2023-09-23 21:34:23 +0200 <geekosaur> yes
2023-09-23 21:37:19 +0200 <haskellbridge> <s​cholablade> hash -r doesn't change anything
2023-09-23 21:38:07 +0200 <haskellbridge> <s​cholablade> stack install, still the same error
2023-09-23 21:39:14 +0200 <geekosaur> this is … strange
2023-09-23 21:39:29 +0200 <haskellbridge> <s​cholablade> Yeah
2023-09-23 21:44:36 +0200 <haskellbridge> <s​cholablade> ghcup is 0.1.19.2 if that matters
2023-09-23 21:45:14 +0200 <geekosaur> I have 0.1.19.4, you can use `ghcup upgrade` or `ghcup tui` to update it
2023-09-23 21:45:23 +0200 <geekosaur> I don't think this should matter though
2023-09-23 22:43:04 +0200 <geekosaur> mm, my sandbox no longer sandboxes properly because I switched to XDG dirs outside the sandbox. need to rework it I guess
2023-09-23 22:49:51 +0200 <haskellbridge> <s​cholablade> Maybe this is irelavent but I have XMonad from ubuntu packages
2023-09-23 22:49:57 +0200 <haskellbridge> <s​cholablade> Maybe this is irrelavent but I have XMonad from ubuntu packages
2023-09-23 23:06:31 +0200 <geekosaur> that shouldn't be relevant unless removing ghc also removed the xmonad and xmonad-contrib libraries, in which case either you have to use the ubuntu ghc (and no stack) or you need to start over with xmonad and xmonad-contrib from hackage or git
2023-09-23 23:06:43 +0200 <geekosaur> but that wouldn't show up until you get past the ghc error
2023-09-23 23:07:01 +0200 <geekosaur> stack won't work until `ghc --numeric-version` works from the command linbe
2023-09-23 23:11:40 +0200 <haskellbridge> <s​cholablade> Interesting, I commented out ```https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/12.yaml
2023-09-23 23:11:41 +0200 <haskellbridge> <s​cholablade> ``` and wrote ``` resolver: lts-20.26```
2023-09-23 23:11:50 +0200 <haskellbridge> <s​cholablade> And it's compiling
2023-09-23 23:13:09 +0200 <geekosaur> that sounds like you had the wrong ghc version installed. 9.2.x?
2023-09-23 23:13:29 +0200 <haskellbridge> <s​cholablade> I have both 9.2.8 and 9.4.7
2023-09-23 23:13:41 +0200 <geekosaur> yeh, but 9.2.8 is `set` apparently
2023-09-23 23:13:52 +0200 <geekosaur> because that's what lts-20.26 wants
2023-09-23 23:15:26 +0200 <haskellbridge> <s​cholablade> Seems to work!
2023-09-23 23:15:42 +0200 <haskellbridge> <s​cholablade> Thanks for the help
2023-09-23 23:16:01 +0200 <geekosaur> I have a bunch of ghc versions installed including a 9.8 prerelease, but 9.6.2 is default / "set"
2023-09-23 23:16:38 +0200 <haskellbridge> <s​cholablade> I have made it so that 9.2.8 is "set"
2023-09-23 23:39:16 +0200sagax(~sagax_nb@user/sagax)