2025/11/25

Newest at the top

2025-11-25 20:06:41 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-25 20:06:13 +0100kitadamian(~kitadamia@95.49.84.49.ipv4.supernova.orange.pl)
2025-11-25 20:04:36 +0100Frostillicus(~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net)
2025-11-25 20:04:14 +0100 <hseg> after all, GHC reads it from its environment
2025-11-25 20:04:01 +0100 <hseg> ... wait, shouldn't it Just Work?
2025-11-25 20:03:59 +0100Everything(~Everythin@172-232-54-192.ip.linodeusercontent.com) Everything
2025-11-25 20:03:55 +0100Frostillicus(~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) (Ping timeout: 240 seconds)
2025-11-25 20:02:54 +0100Everything(~Everythin@172-232-54-192.ip.linodeusercontent.com) (Quit: leaving)
2025-11-25 20:02:31 +0100 <hseg> hrm. any way of making Setup.hs read GHC_ENVIRONMENT? I'm only seeing support for --package-db
2025-11-25 19:58:42 +0100 <hseg> unfortunately, it seems that setup.exe doesn't know to pick up on that file?
2025-11-25 19:58:11 +0100 <hseg> nope, the opposite -- it seems to be how it's communicating the package db info to the program it runs
2025-11-25 19:58:00 +0100 <geekosaur> (see `--package-env` in cabal)
2025-11-25 19:57:39 +0100 <geekosaur> usually you want that disabled, which I think is what cabal is doing
2025-11-25 19:57:10 +0100 <geekosaur> it's an environment file
2025-11-25 19:55:25 +0100 <hseg> right... what's GHC_ENVIRONMENT that I see cabal exec setting?
2025-11-25 19:55:15 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 240 seconds)
2025-11-25 19:54:26 +0100 <geekosaur> but it would have potential issues since it would expose the store, which external commands could then modify without cabal knowing about it
2025-11-25 19:54:00 +0100Frostillicus(~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net)
2025-11-25 19:53:48 +0100 <geekosaur> mm, actually that's if you set it outside cabal. I don't know if it's possible to have cabal set it for commands it runs
2025-11-25 19:53:24 +0100Frostillicus(~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) (Read error: Connection reset by peer)
2025-11-25 19:53:17 +0100 <hseg> it does
2025-11-25 19:53:10 +0100 <geekosaur> iirc cabal throws an error if you do that?
2025-11-25 19:50:54 +0100Googulator(~Googulato@2a01-036d-0106-4ad8-11e2-562e-881b-eb37.pool6.digikabel.hu) (Quit: Client closed)
2025-11-25 19:50:48 +0100Googulator56(~Googulato@2a01-036d-0106-4ad8-11e2-562e-881b-eb37.pool6.digikabel.hu)
2025-11-25 19:49:22 +0100 <hseg> is there some way of getting cabal to do that?
2025-11-25 19:49:14 +0100 <hseg> hrm. https://github.com/ndmitchell/shake/issues/267 and comments there suggest the test suite expects GHC_PACKAGE_PATH to be set properly in its environment
2025-11-25 19:48:39 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-11-25 19:46:41 +0100leah2(~leah@vuxu.org) leah2
2025-11-25 19:38:06 +0100mulk(~mulk@pd95144c3.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
2025-11-25 19:35:49 +0100 <hseg> fair 'nuff
2025-11-25 19:35:43 +0100 <hseg> in service of eventually packaging a statically-built shake
2025-11-25 19:35:42 +0100 <tomsmeding> open an issue, I guess :p
2025-11-25 19:35:29 +0100 <tomsmeding> I see
2025-11-25 19:35:25 +0100 <hseg> manual build from git repo
2025-11-25 19:35:17 +0100 <tomsmeding> or is the directory name there just incidental and is this a manual build from the git repo
2025-11-25 19:34:58 +0100 <tomsmeding> have you managed to run this test suite outside of a special aur build?
2025-11-25 19:34:49 +0100 <hseg> fair
2025-11-25 19:34:38 +0100 <tomsmeding> this feels a little bit like a shake problem and not a haskell problem
2025-11-25 19:34:29 +0100 <tomsmeding> and this is the only occurrence of "setup.exe" in that repo
2025-11-25 19:34:24 +0100humasect(~humasect@dyn-192-249-132-90.nexicom.net) (Remote host closed the connection)
2025-11-25 19:33:35 +0100connrs(~connrs@user/connrs) connrs
2025-11-25 19:33:29 +0100 <hseg> https://github.com/ndmitchell/shake/blob/master/src/Test/Docs.hs#L17
2025-11-25 19:33:24 +0100peterbecich(~Thunderbi@172.222.148.214) peterbecich
2025-11-25 19:32:50 +0100 <hseg> tomsmeding: oh, that's hardcoded
2025-11-25 19:32:44 +0100 <hseg> running git clean -dffx ; cabal build shake-test
2025-11-25 19:32:33 +0100 <tomsmeding> also why is the thing called setup.exe -- this is not windows?
2025-11-25 19:32:10 +0100tomsmedinghas been burned by doctests not working in the most spectacular of ways once, long ago, and has avoided touching them since
2025-11-25 19:31:53 +0100 <tomsmeding> if you clean the build first and then rebuild, does it say anything about it?
2025-11-25 19:31:36 +0100 <hseg> not sure -- but src/Test/Docs.hs references it explicitly by name
2025-11-25 19:31:03 +0100 <tomsmeding> hseg: how does that setup.exe even end up there? How is it built, and why is it in an old-style dist folder?