2025/01/10

Newest at the top

2025-01-10 03:00:29 +0100 <euouae> no, I meant to say that I dislike vector.im and their phony privacy thing
2025-01-10 03:00:05 +0100 <haskellbridge> <sm> ah. Well these are all FOSS rooms, unencrypted
2025-01-10 02:59:33 +0100 <euouae> I don't use matrix though, I'm bothered by their encryption
2025-01-10 02:58:55 +0100 <haskellbridge> <sm> #haskell-stack:matrix.org (https://matrix.to/#/#haskell-stack:matrix.org) will know for sure
2025-01-10 02:58:48 +0100 <geekosaur> it might not be mentioned because recent versions of stack renamed it to "snapshot"
2025-01-10 02:58:33 +0100 <haskellbridge> <sm> if I'm reading it right, https://github.com/commercialhaskell/stack-templates/blob/master/new-template.hsfiles seems to be the default template. But it doesn't seem to provide the stack.yaml file itself.
2025-01-10 02:57:41 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 02:57:37 +0100 <euouae> apparently the value in ~/.stack/config.yaml must be indented to take effect
2025-01-10 02:56:55 +0100 <haskellbridge> <sm> https://docs.haskellstack.org/en/stable/commands/new_command/
2025-01-10 02:56:32 +0100 <haskellbridge> <sm> "stack new" is a command I think not many people use, do its docs say how to configure it ?
2025-01-10 02:56:27 +0100 <euouae> it does make me a little sekptical because I can't figure out in the docs where 'resolver' is mentioned
2025-01-10 02:56:09 +0100 <geekosaur> (I'm mostly a cabal user and only use stack when debuggig an xmonad user's config that's stack-based)
2025-01-10 02:55:48 +0100 <geekosaur> no, it just means I'm not actually a stack expert and don't know the exact place to edit off the top of my head 🙂
2025-01-10 02:54:46 +0100 <euouae> Maybe I shouldn't use stack?
2025-01-10 02:54:23 +0100 <euouae> I've tried to edit ~/.stack/config.yaml and ~/.stack/global-projects/stack.yaml but neither works with `stack new`
2025-01-10 02:54:06 +0100 <geekosaur> oh right, that's what you got at first, sorry
2025-01-10 02:54:00 +0100housemate(~housemate@pa49-185-174-252.pa.vic.optusnet.com.au) housemate
2025-01-10 02:53:37 +0100 <geekosaur> and nightlies are not especially stable
2025-01-10 02:53:24 +0100 <geekosaur> you probably want to do that anyway as that's a relatively old nightly; if you want ghc 9.8 you want LTS 23.3
2025-01-10 02:52:05 +0100 <geekosaur> edit that file in ~/.stack to specify the snapshot you want by default
2025-01-10 02:51:10 +0100 <euouae> sigh this is difficult to figure out... I guess I can use stack new --resolver
2025-01-10 02:51:02 +0100 <euouae> how can I make this the default behavior?
2025-01-10 02:48:03 +0100hawer(~newyear@2.219.56.221)
2025-01-10 02:47:52 +0100_73(~user@pool-173-76-100-193.bstnma.fios.verizon.net) _73
2025-01-10 02:47:12 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2025-01-10 02:45:13 +0100 <euouae> nice! thank you!!!
2025-01-10 02:45:00 +0100 <geekosaur> it says the latest snapshot for 9.4.8 is 21.25
2025-01-10 02:44:46 +0100 <geekosaur> stackage.org has a list
2025-01-10 02:44:30 +0100 <euouae> How do I figure out which snapshot to use with stack if I have ghc 9.4.8? Does it follow that version?
2025-01-10 02:44:08 +0100 <geekosaur> although supposedly with the next patch release to 9.6 that will become ghcup recommended
2025-01-10 02:43:58 +0100 <euouae> I am new to this stuff (or it's been years) so I don't remember any of it
2025-01-10 02:43:49 +0100 <euouae> Yeah that makes sense, more stable
2025-01-10 02:43:39 +0100 <geekosaur> also, while stack snapshots tend to be fairly recent, ghcup is quite conservative
2025-01-10 02:43:28 +0100 <euouae> I just installed the shim like you said, but I guess that was anothe rthing
2025-01-10 02:42:21 +0100 <geekosaur> stack predates ghcup and was intended to be an all-in-one solution
2025-01-10 02:42:19 +0100merijn(~merijn@128-137-045-062.dynamic.caiway.nl) merijn
2025-01-10 02:41:52 +0100HappyNewYear2025(~newyear@2.219.56.221) (Ping timeout: 244 seconds)
2025-01-10 02:41:19 +0100 <geekosaur> (but then you have to build your own HLSs to work with them)
2025-01-10 02:41:01 +0100 <geekosaur> if you don't install the ghcup shim it even installs its own private ghcs instead of ghcup's
2025-01-10 02:40:42 +0100 <geekosaur> because stack does things its own way
2025-01-10 02:40:33 +0100Guest57(~Guest57@2a00:fbc:ead6:daa8:3d67:28a5:8699:d1db)
2025-01-10 02:40:28 +0100orangeFlu(~orangeFlu@240-100-179-143.ftth.glasoperator.nl) (Quit: Lost terminal)
2025-01-10 02:40:20 +0100 <geekosaur> if you want to change it, use a different resolver
2025-01-10 02:40:18 +0100 <euouae> why is LTS 9.8.4 and ghcup recommended is different versions?
2025-01-10 02:40:14 +0100otto_s(~user@p5de2f8cc.dip0.t-ipconnect.de)
2025-01-10 02:40:00 +0100 <geekosaur> yes, that5 LTS uses 9.8.4
2025-01-10 02:39:55 +0100 <euouae> from the link I can see resolver: compiler: ghc-9.8.4
2025-01-10 02:39:36 +0100 <geekosaur> uh, there should always be one in there, if there isn't then it should use the one from the global as a default but it should always add one
2025-01-10 02:39:13 +0100 <euouae> it says snapshot: url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/23/3.yaml
2025-01-10 02:38:47 +0100 <euouae> there is none, I created the project with `stack new foo`