2025/04/25

Newest at the top

2025-04-25 14:50:04 +0200 <ii8> Are you sure that just a project file existing guarantees that all dependencies are fixed?
2025-04-25 14:48:46 +0200ethantwardy(~user@user/ethantwardy) (Quit: WeeChat 4.4.2)
2025-04-25 14:47:49 +0200 <ii8> I just need a way to make sure that cabal always pulls the exact same sources for any given project
2025-04-25 14:47:03 +0200 <ii8> merijn: I'm coming from the perspective of packaging haskell programs for linux distros, so I won't be pushing anything to hackage
2025-04-25 14:41:08 +0200 <haskellbridge> <Liamzee> postgresql simple, i guess, opaleye
2025-04-25 14:41:01 +0200 <haskellbridge> <Liamzee> done already
2025-04-25 14:40:59 +0200 <haskellbridge> <Liamzee> https://hackage.haskell.org/package/hasql-transaction
2025-04-25 14:40:57 +0200 <haskellbridge> <Liamzee> also, about PGRef:
2025-04-25 14:40:10 +0200 <haskellbridge> <Liamzee> is there a reason to use postgresql simple instead of hasql?
2025-04-25 14:36:08 +0200weary-traveler(~user@user/user363627) user363627
2025-04-25 14:24:35 +0200bitdex(~bitdex@gateway/tor-sasl/bitdex) (Quit: = "")
2025-04-25 14:23:26 +0200tremon(~tremon@83.80.159.219) tremon
2025-04-25 14:23:08 +0200jespada(~jespada@179.26.245.3) jespada
2025-04-25 14:12:36 +0200tv(~tv@user/tv) tv
2025-04-25 14:11:12 +0200 <jackdk> ii8: If that's your goal, I would use Nix
2025-04-25 13:57:22 +0200mceresa(~mceresa@user/mceresa) (Ping timeout: 265 seconds)
2025-04-25 13:55:38 +0200tv(~tv@user/tv) (Read error: Connection reset by peer)
2025-04-25 13:55:38 +0200sixfourtwelve(~ethanmorg@82.18.82.103) sixfourtwelve
2025-04-25 13:54:36 +0200 <merijn> but at that point, what have you really accomplished?
2025-04-25 13:54:25 +0200 <merijn> I mean, I guess your script could be simply "cabal <cmd> --project-file=<filename>" and that'd fail on a non-existent file
2025-04-25 13:53:40 +0200 <merijn> It should use that projectfile by default, but there's no way to force it to fail if missing
2025-04-25 13:53:03 +0200 <merijn> Inside a repo you could have a cabal.project file to enforce a specific index-state, though
2025-04-25 13:52:43 +0200 <merijn> ii8: Since cabal package are intended to be reusable generally, allowing something like that in a package on Hackage would be a nightmare
2025-04-25 13:52:11 +0200 <merijn> ii8: But doing that in a cabal package is antithetical to it's purpose
2025-04-25 13:51:56 +0200 <merijn> ii8: I mean, if you have a cabal.project file in the repo you will get that behaviour
2025-04-25 13:49:38 +0200mceresa(~mceresa@user/mceresa) mceresa
2025-04-25 13:47:40 +0200 <ii8> It'd be kind of a tricky script I fear. So there's no way to tell cabal I want a build to be reproducible and it shouldn't do any solving or searching?
2025-04-25 13:44:56 +0200tromp(~textual@2001:1c00:3487:1b00:c44:d27d:c88:929f) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-04-25 13:42:36 +0200 <merijn> You could write a script that does that and invoke cabal from there
2025-04-25 13:41:42 +0200 <merijn> ii8: Not really, no
2025-04-25 13:38:07 +0200 <ii8> Is there a way to force cabal to use a freeze file and fixed index-state and fail if it doesn't find one?
2025-04-25 13:32:57 +0200wootehfoot(~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
2025-04-25 13:32:06 +0200tromp(~textual@2001:1c00:3487:1b00:c44:d27d:c88:929f)
2025-04-25 13:17:21 +0200tromp(~textual@2001:1c00:3487:1b00:c44:d27d:c88:929f) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-04-25 12:50:45 +0200gehmehgehgmg
2025-04-25 12:50:36 +0200gmg(~user@user/gehmehgeh) (Ping timeout: 264 seconds)
2025-04-25 12:50:16 +0200gehmehgeh(~user@user/gehmehgeh) gehmehgeh
2025-04-25 12:43:17 +0200wootehfoot(~wootehfoo@user/wootehfoot) wootehfoot
2025-04-25 12:41:11 +0200lol_jcarpenter2
2025-04-25 12:27:57 +0200xff0x(~xff0x@fsb6a9491c.tkyc517.ap.nuro.jp) (Ping timeout: 265 seconds)
2025-04-25 11:46:33 +0200j1n37(~j1n37@user/j1n37) j1n37
2025-04-25 11:43:10 +0200j1n37-(~j1n37@user/j1n37) (Ping timeout: 260 seconds)
2025-04-25 11:42:38 +0200chiselfuse(~chiselfus@user/chiselfuse) chiselfuse
2025-04-25 11:41:58 +0200chiselfuse(~chiselfus@user/chiselfuse) (Remote host closed the connection)
2025-04-25 11:36:08 +0200tromp(~textual@2001:1c00:3487:1b00:c44:d27d:c88:929f)
2025-04-25 11:34:32 +0200TMA(tma@twin.jikos.cz) (Ping timeout: 244 seconds)
2025-04-25 11:30:46 +0200econo_(uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity)
2025-04-25 11:30:32 +0200tromp(~textual@2001:1c00:3487:1b00:c44:d27d:c88:929f) (Quit: My iMac has gone to sleep. ZZZzzz…)
2025-04-25 11:18:54 +0200Googulator(~Googulato@81.183.235.203)
2025-04-25 11:18:38 +0200Googulator(~Googulato@81.183.235.203) (Quit: Client closed)