2025/05/01

Newest at the top

2025-05-01 23:12:30 +0200fun-safe-math(~fun-safe-@97-120-59-205.ptld.qwest.net) fun-safe-math
2025-05-01 23:11:34 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-05-01 23:06:39 +0200machinedgod(~machinedg@d108-173-18-100.abhsia.telus.net) (Ping timeout: 245 seconds)
2025-05-01 23:06:07 +0200takuan(~takuan@d8D86B601.access.telenet.be) (Remote host closed the connection)
2025-05-01 23:05:54 +0200gorignak(~gorignak@user/gorignak) gorignak
2025-05-01 23:05:53 +0200jespada(~jespada@r179-25-202-180.dialup.adsl.anteldata.net.uy) (Quit: My Mac has gone to sleep. ZZZzzz…)
2025-05-01 23:00:05 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 248 seconds)
2025-05-01 22:58:57 +0200__jmcantrell__(~weechat@user/jmcantrell) jmcantrell
2025-05-01 22:57:20 +0200 <tomsmeding> ah :)
2025-05-01 22:57:03 +0200 <sim590> tomsmeding: So I think that your suggestion of using a `program-options` section might have worked, if I used it inside `cabal.project` file, but I tried it only inside `opeendht-hs.cabal`. I just saw in the section headings that you were talking about that this option was for `cabal.project`. Just to clear things up about this miunderstanding due to my lack of knowledge of these files.
2025-05-01 22:53:33 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-05-01 22:48:36 +0200JuanDaugherty(~juan@user/JuanDaugherty) JuanDaugherty
2025-05-01 22:46:57 +0200michalz(~michalz@185.246.207.205) (Remote host closed the connection)
2025-05-01 22:44:42 +0200 <tomsmeding> (there are chapter headings in the left column)
2025-05-01 22:44:22 +0200 <sim590> tomsmeding: aight, I see! :D I'll try to remember that mapping xD
2025-05-01 22:43:16 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich
2025-05-01 22:42:49 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 265 seconds)
2025-05-01 22:40:01 +0200 <geekosaur> *is an
2025-05-01 22:39:45 +0200 <tomsmeding> yay
2025-05-01 22:39:35 +0200 <tomsmeding> sim590: in the Cabal user guide, the .cabal file is 'cabal reference' section 1, and the cabal.project file is section 2 ;)
2025-05-01 22:39:32 +0200 <geekosaur> anyway the project file parser is known to be half-assed; the change to check for known stanzas are an interim fix, there's a new parser in development that might make 3.16
2025-05-01 22:39:03 +0200 <sim590> Thanks very much to everyone helping debugging this. I hope to get to know these files better in the future. I know the `.cabal` file better, but it seems like when I get on the documentation website, I always assume the options are for `.cabal` files, but I guess now I have to look better to know if they are for other files.
2025-05-01 22:38:09 +0200merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-05-01 22:37:35 +0200 <tomsmeding> (but thanks to whomever fixed it for 3.14 :) )
2025-05-01 22:37:27 +0200 <geekosaur> (the downside being that now there's an extra place that needs to be updated if new stanzas are added)
2025-05-01 22:37:09 +0200 <tomsmeding> who decided ignoring unknown stanzas was a good idea :p
2025-05-01 22:36:40 +0200 <geekosaur> yes, which it ignores in older cabal. 3.14 does better
2025-05-01 22:36:38 +0200 <tomsmeding> I'd expect an error on encountering an unknown stanza
2025-05-01 22:36:21 +0200 <tomsmeding> but an unknown stanza, surely?
2025-05-01 22:36:12 +0200 <geekosaur> it's treated as a stanza which is unused
2025-05-01 22:36:00 +0200 <sim590> tomsmeding: I see.
2025-05-01 22:35:51 +0200 <geekosaur> btw that error is detected better in 3.14
2025-05-01 22:35:38 +0200 <tomsmeding> what cabal parses your `packages .` line to instead in that case, no clue
2025-05-01 22:35:25 +0200 <tomsmeding> sim590: if there's no cabal.project (and a cabal.project.local is not a cabal.project), then the `packages:` line is not required
2025-05-01 22:35:03 +0200 <tomsmeding> in general, in cabal.project* files, clauses which directly take arguments have a `:`, and headings which contain further keys with values have no `:`
2025-05-01 22:34:58 +0200 <sim590> Aight. It's funny that just renaming it to `cabal.project.local` works though ?
2025-05-01 22:34:42 +0200 <EvanR> step up your game
2025-05-01 22:34:41 +0200 <sim590> Damn
2025-05-01 22:34:33 +0200 <geekosaur> as usual
2025-05-01 22:34:20 +0200 <tomsmeding> too slow
2025-05-01 22:34:16 +0200 <geekosaur> no colon on the packages line?
2025-05-01 22:34:09 +0200 <tomsmeding> sim590: missing the `:` after `packages`
2025-05-01 22:33:54 +0200 <sim590> https://paste.debian.net/1372746/
2025-05-01 22:33:41 +0200 <tomsmeding> post the contents of your cabal.project file?
2025-05-01 22:33:34 +0200 <tomsmeding> okay good
2025-05-01 22:33:30 +0200 <sim590> The version of the cabal binary is 3.12.1.0
2025-05-01 22:33:29 +0200 <tomsmeding> ah
2025-05-01 22:33:21 +0200 <sim590> tomsmeding: sorry. I thought you meant the version of the file.
2025-05-01 22:32:57 +0200 <tomsmeding> 3.12.1.0 is recommended, 3.14.2.0 is latest
2025-05-01 22:32:46 +0200 <tomsmeding> sim590: that is ancient, please upgrade now