Logs: liberachat/#xmonad
| 2023-09-23 12:15:05 | <haskellbridge> | <Solid> Yeah, this is what keeps stack from installing its own GHC version(s) |
| 2023-09-23 12:15:50 | <haskellbridge> | <scholablade> Am gonna download GHC 9.4.7 from GHCup and report back if it works |
| 2023-09-23 12:15:55 | × | todi quits (~todi@pd957150f.dip0.t-ipconnect.de) (Ping timeout: 264 seconds) |
| 2023-09-23 12:16:13 | <haskellbridge> | <Solid> I think that you have 9.4.7, but our lts resolver is 21.6, which is on 9.4.6 |
| 2023-09-23 12:17:04 | <haskellbridge> | <scholablade> In GHCup i have 9.2.8 |
| 2023-09-23 12:17:10 | <haskellbridge> | <scholablade> In GHCup i have 9.2.8 downloaded |
| 2023-09-23 12:17:20 | <haskellbridge> | <Solid> ah, fair enough |
| 2023-09-23 12:17:53 | <haskellbridge> | <Solid> (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 12:20:48 | <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 12:20:50 | <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 12:32:09 | → | todi joins (~todi@pd957150f.dip0.t-ipconnect.de) |
| 2023-09-23 14:04:09 | × | ectospasm quits (~ectospasm@user/ectospasm) (Quit: WeeChat 4.0.4) |
| 2023-09-23 14:19:13 | × | geekosaur quits (~geekosaur@xmonad/geekosaur) (Quit: Leaving) |
| 2023-09-23 14:20:14 | × | xmonadtrack quits (~xmonadtra@user/geekosaur/bot/xmonadtrack) (Remote host closed the connection) |
| 2023-09-23 14:20:26 | × | haskellbridge quits (~haskellbr@069-135-003-034.biz.spectrum.com) (Remote host closed the connection) |
| 2023-09-23 14:21:13 | → | ectospasm joins (~ectospasm@user/ectospasm) |
| 2023-09-23 14:22:16 | → | geekosaur joins (~geekosaur@xmonad/geekosaur) |
| 2023-09-23 14:23:29 | → | haskellbridge joins (~haskellbr@069-135-003-034.biz.spectrum.com) |
| 2023-09-23 14:23:29 | × | haskellbridge quits (~haskellbr@069-135-003-034.biz.spectrum.com) (Read error: Connection reset by peer) |
| 2023-09-23 14:23:39 | → | xmonadtrack joins (~xmonadtra@069-135-003-034.biz.spectrum.com) |
| 2023-09-23 14:23:39 | × | xmonadtrack quits (~xmonadtra@069-135-003-034.biz.spectrum.com) (Changing host) |
| 2023-09-23 14:23:39 | → | xmonadtrack joins (~xmonadtra@user/geekosaur/bot/xmonadtrack) |
| 2023-09-23 14:23:57 | → | haskellbridge joins (~haskellbr@069-135-003-034.biz.spectrum.com) |
| 2023-09-23 15:25:18 | → | chomwitt joins (~chomwitt@2a02:587:7a2f:d000:1ac0:4dff:fedb:a3f1) |
| 2023-09-23 15:42:36 | → | tremon joins (~tremon@83.80.159.219) |
| 2023-09-23 16:58:14 | × | todi quits (~todi@pd957150f.dip0.t-ipconnect.de) (Quit: ZNC - https://znc.in) |
| 2023-09-23 18:02:05 | → | Guest14 joins (~Guest14@net-93-70-100-69.cust.vodafonedsl.it) |
| 2023-09-23 18:02:16 | × | Guest14 quits (~Guest14@net-93-70-100-69.cust.vodafonedsl.it) (Client Quit) |
| 2023-09-23 18:45:21 | <haskellbridge> | <scholablade> Solid: I have downloaded in GHCup, GHC 9.4.7, yet i still get the same error. |
| 2023-09-23 18:54:31 | <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 18:56:25 | <geekosaur> | that said, I don't use stack so I doubt I can help much |
| 2023-09-23 18:57:11 | <haskellbridge> | <scholablade> I have version 2.11.1 |
| 2023-09-23 18:57:25 | × | td_ quits (~td@i5387093D.versanet.de) (Quit: waking up from the american dream ...) |
| 2023-09-23 18:59:47 | <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 19:00:00 | → | td_ joins (~td@i5387093D.versanet.de) |
| 2023-09-23 19:09:49 | <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 19:09:53 | <geekosaur> | @where paste |
| 2023-09-23 19:09:53 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 2023-09-23 19:10:16 | <geekosaur> | (please don't just blat it into matrix, irc can't handle it) |
| 2023-09-23 19:10:22 | <haskellbridge> | <scholablade> Okay |
| 2023-09-23 19:11:33 | <haskellbridge> | <scholablade> https://paste.tomsmeding.com/hNb5EqBM |
| 2023-09-23 19:12:59 | <geekosaur> | okay, same as I'm using. it should work |
| 2023-09-23 19:14:51 | <haskellbridge> | <scholablade> Full error message: https://paste.tomsmeding.com/IZheZ6eM |
| 2023-09-23 19:17:37 | <geekosaur> | odd. it should have simply installed a ghc, via ghcup if you told it to install the stack hook |
| 2023-09-23 19:17:53 | <geekosaur> | that error should only happen with `system-ghc: true` |
| 2023-09-23 19:20:58 | <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 19:21:04 | <haskellbridge> | <scholablade> I do have system:ghc true |
| 2023-09-23 19:21:18 | <haskellbridge> | <scholablade> https://paste.tomsmeding.com/lZRjNuOw |
| 2023-09-23 19:21:41 | <haskellbridge> | <scholablade> Stack downloading ghc every time is something i didn't want to happen |
| 2023-09-23 19:21:42 | <geekosaur> | huh |
| 2023-09-23 19:21:54 | <geekosaur> | https://www.haskell.org/ghcup/guide/#stack-integration |
| 2023-09-23 19:22:25 | <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 19:22:38 | <geekosaur> | meanwhile, what does `which ghc` say? |
| 2023-09-23 19:23:07 | <haskellbridge> | <scholablade> It says |
| 2023-09-23 19:23:08 | <haskellbridge> | <scholablade> ``` |
| 2023-09-23 19:23:09 | <haskellbridge> | <scholablade> /usr/bin/ghc |
| 2023-09-23 19:23:10 | <haskellbridge> | <scholablade> ``` |
| 2023-09-23 19:23:22 | <geekosaur> | uh |
| 2023-09-23 19:23:41 | <geekosaur> | remove the ubuntu ghc package, it's hiding the one you want |
| 2023-09-23 19:23:46 | <geekosaur> | and is version 8.l6.5 |
| 2023-09-23 19:23:50 | <geekosaur> | 8.6.5 |
| 2023-09-23 19:26:19 | <haskellbridge> | <scholablade> The same issue |
| 2023-09-23 19:26:39 | <geekosaur> | run `hash -r`, then `which ghc` again |
| 2023-09-23 19:26:42 | <haskellbridge> | <scholablade> I have delete the ghc package provided by Ubuntu but still |
| 2023-09-23 19:27:07 | <haskellbridge> | <scholablade> which ghc doesn't output anything |
| 2023-09-23 19:27:30 | <haskellbridge> | <scholablade> though |
| 2023-09-23 19:27:38 | <geekosaur> | okay,k did you source the env file like ghcup should have told you to do? |
| 2023-09-23 19:27:46 | <haskellbridge> | <scholablade> when i set GHCup, it gives me: /home/rextheman/.ghcup/bin/ghc |
| 2023-09-23 19:28:25 | <geekosaur> | `source ~/.ghcup/env` |
| 2023-09-23 19:29:25 | <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 19:29:39 | <haskellbridge> | <scholablade> It's Bash |
| 2023-09-23 19:29:54 | <haskellbridge> | <scholablade> It's sourced |
| 2023-09-23 19:30:05 | <geekosaur> | now do `which ghc` again |
| 2023-09-23 19:30:21 | <haskellbridge> | <scholablade> '/home/rextheman/.ghcup/bin/ghc' |
| 2023-09-23 19:30:32 | <geekosaur> | okay. you should be set now |
| 2023-09-23 19:31:08 | <haskellbridge> | <scholablade> I still get the same error |
| 2023-09-23 19:31:23 | <geekosaur> | are you doing that in the same or a different window? |
| 2023-09-23 19:31:32 | <haskellbridge> | <scholablade> Same |
| 2023-09-23 19:31:53 | <geekosaur> | what does `ghc --numeric-version` say? |
| 2023-09-23 19:33:36 | <haskellbridge> | <scholablade> Error and telling me to install ghc |
| 2023-09-23 19:34:07 | <geekosaur> | did you `hash -r`? |
| 2023-09-23 19:34:12 | <haskellbridge> | <scholablade> which ghc only works if i do "set" in ghcup |
| 2023-09-23 19:34:23 | <geekosaur> | yes |
| 2023-09-23 19:37:19 | <haskellbridge> | <scholablade> hash -r doesn't change anything |
| 2023-09-23 19:38:07 | <haskellbridge> | <scholablade> stack install, still the same error |
| 2023-09-23 19:39:14 | <geekosaur> | this is … strange |
| 2023-09-23 19:39:29 | <haskellbridge> | <scholablade> Yeah |
| 2023-09-23 19:44:36 | <haskellbridge> | <scholablade> ghcup is 0.1.19.2 if that matters |
| 2023-09-23 19:45:14 | <geekosaur> | I have 0.1.19.4, you can use `ghcup upgrade` or `ghcup tui` to update it |
| 2023-09-23 19:45:23 | <geekosaur> | I don't think this should matter though |
| 2023-09-23 20:43:04 | <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 20:49:51 | <haskellbridge> | <scholablade> Maybe this is irelavent but I have XMonad from ubuntu packages |
| 2023-09-23 20:49:57 | <haskellbridge> | <scholablade> Maybe this is irrelavent but I have XMonad from ubuntu packages |
| 2023-09-23 21:06:31 | <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 21:06:43 | <geekosaur> | but that wouldn't show up until you get past the ghc error |
| 2023-09-23 21:07:01 | <geekosaur> | stack won't work until `ghc --numeric-version` works from the command linbe |
| 2023-09-23 21:11:40 | <haskellbridge> | <scholablade> Interesting, I commented out ```https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/12.yaml |
| 2023-09-23 21:11:41 | <haskellbridge> | <scholablade> ``` and wrote ``` resolver: lts-20.26``` |
| 2023-09-23 21:11:50 | <haskellbridge> | <scholablade> And it's compiling |
| 2023-09-23 21:13:09 | <geekosaur> | that sounds like you had the wrong ghc version installed. 9.2.x? |
All times are in UTC.