2026/03/04

Newest at the top

2026-03-05 00:48:27 +0100 <geekosaur> (dammit I typed that three times and still got it wrong)
2026-03-05 00:46:50 +0100 <geekosaur> worst case you'll need to enable CPP and conditionalize code on __GLASGGW_HASKELL__ (https://downloads.haskell.org/ghc/latest/docs/users_guide/phases.html#standard-cpp-macros)
2026-03-05 00:45:55 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2026-03-05 00:45:42 +0100msa(msa@msa.planetofnix.com)
2026-03-05 00:41:43 +0100gentauroI will look again at it tmorrow. To tired to care
2026-03-05 00:40:31 +0100 <gentauro> kind of `meh`
2026-03-05 00:40:24 +0100 <gentauro> geekosaur: yeah, if I "make changes" to build for 9.8.4, then 9.10.4 no longer builds
2026-03-05 00:38:58 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-03-05 00:37:42 +0100msa(msa@msa.planetofnix.com) (Ping timeout: 268 seconds)
2026-03-05 00:34:29 +0100j0lol(~j0lol@132.145.17.236) j0lol
2026-03-05 00:31:25 +0100j0lol(~j0lol@132.145.17.236) (Ping timeout: 245 seconds)
2026-03-05 00:30:41 +0100 <geekosaur> isn't that a different kind of problem? you'll have to check the 9.10 release notes and see if you're tripping over an incompatibility or new feature
2026-03-05 00:29:38 +0100 <gentauro> hope that helps
2026-03-05 00:29:35 +0100 <gentauro> geekosaur: I'm trying to build for 9.8.4
2026-03-05 00:28:03 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 246 seconds)
2026-03-05 00:27:34 +0100 <geekosaur> years ago there was a matrix builder on hackage, but it broke and nobody's been able to figure out hvr's code to fix it
2026-03-05 00:23:31 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-03-05 00:21:51 +0100 <geekosaur> (instead of compiler errors getting vomited up at them)
2026-03-05 00:20:28 +0100 <geekosaur> if you want to be really pedantic you can check impl(ghc < 9.10) and set `buildable: False` so installers with too old compilers get better error messages
2026-03-05 00:19:34 +0100ChaiTRex(~ChaiTRex@user/chaitrex) ChaiTRex
2026-03-05 00:18:19 +0100v0id_7(~v0id_7@user/v0id-7:62772) (Quit: whatever u sick fcks)
2026-03-05 00:15:56 +0100 <geekosaur> you can document what ghc versions are accepted (see `compiler:`) and that will be displayed on the package page
2026-03-05 00:15:18 +0100 <geekosaur> you can build locally and upload documentation, hackage has instructions
2026-03-05 00:14:58 +0100 <geekosaur> only if you care about its build report
2026-03-05 00:14:22 +0100 <gentauro> so I need to aim at the ghc version installed on Hackage?
2026-03-05 00:14:08 +0100 <gentauro> geekosaur: hmmmm
2026-03-05 00:13:35 +0100 <geekosaur> or libraries
2026-03-05 00:13:29 +0100 <geekosaur> you have even less control over that: hackage will not install additional compilers on demand to support individual packages
2026-03-05 00:13:23 +0100vanishingideal(~vanishing@user/vanishingideal) (Read error: Connection reset by peer)
2026-03-05 00:12:55 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2026-03-05 00:12:45 +0100 <gentauro> that's not very nice :-\
2026-03-05 00:12:38 +0100 <gentauro> so I'm building a package that works for 9.10.3, but since hackage builds with 9.8.4 it breaks
2026-03-05 00:12:01 +0100 <geekosaur> also, that resolver might not do what you intend: it installs only ghc bootlibs. you almost always want a full LTS or nightly version instead
2026-03-05 00:12:01 +0100 <gentauro> geekosaur: oh snap
2026-03-05 00:11:17 +0100 <geekosaur> (stack, via snapshot/resolver, can control this, but it's because that installs ghc and specific versions of packages)
2026-03-05 00:11:03 +0100arandombit(~arandombi@user/arandombit) arandombit
2026-03-05 00:11:03 +0100arandombit(~arandombi@2a02:2455:8656:7100:8f9:5ae1:db50:3312) (Changing host)
2026-03-05 00:11:03 +0100arandombit(~arandombi@2a02:2455:8656:7100:8f9:5ae1:db50:3312)
2026-03-05 00:10:27 +0100 <geekosaur> cabal.project can control it
2026-03-05 00:10:19 +0100 <geekosaur> you don't, since you can't force someone installing from e.g. hackage to install particular ghc versions
2026-03-05 00:08:00 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) merijn
2026-03-05 00:06:13 +0100 <gentauro> How do you specify in a .cabal file a specific GHC version to build. This is from a Haskell Stack yaml file: `resolver: ghc-7.10.2`.
2026-03-05 00:06:13 +0100ChaiTRex(~ChaiTRex@user/chaitrex) (Ping timeout: 258 seconds)
2026-03-05 00:04:30 +0100 <newmind> its also nice while you're still figuring out the interface/structure, since you're less likely to settle with something that's not quite right
2026-03-05 00:03:39 +0100 <fgarcia> with the language, that is one thing i like. maintaining something long term has been nice.
2026-03-05 00:00:13 +0100 <newmind> i have to say, big refactoring is actually quite fun in haskell... it's a joy when you're actually brave enough to do bigger structural changes and still not completely break your code
2026-03-04 23:57:19 +0100merijn(~merijn@host-cl.cgnat-g.v4.dfn.nl) (Ping timeout: 264 seconds)
2026-03-04 23:54:42 +0100Googulator46(~Googulato@2a01-036d-0106-0119-2546-5dd3-b1b8-39cd.pool6.digikabel.hu) (Quit: Client closed)
2026-03-04 23:54:21 +0100Googulator13(~Googulato@2a01-036d-0106-0119-2546-5dd3-b1b8-39cd.pool6.digikabel.hu)
2026-03-04 23:54:18 +0100peterbecich(~Thunderbi@71.84.33.135) (Ping timeout: 255 seconds)