Newest at the top
2024-12-28 15:18:45 +0100 | rekahsoft | (~rekahsoft@bras-base-orllon1103w-grc-06-76-69-85-220.dsl.bell.ca) rekahsoft |
2024-12-28 15:15:50 +0100 | euleritian | (~euleritia@dynamic-176-007-157-163.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
2024-12-28 15:14:56 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2024-12-28 15:13:42 +0100 | <Leary> | You probably also need to remove any optimisation settings from cabal.project(.local); I suspect that overrides the .cabal file. |
2024-12-28 15:12:03 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 245 seconds) |
2024-12-28 15:09:15 +0100 | <SrPx> | ok thanks |
2024-12-28 15:08:38 +0100 | <Leary> | SrPx: Your main `executable` stanza should have `ghc-options: -O2`, then separately you should have a `test-suite` stanza with `ghc-options: -O0`, which can presumably point to the same `Main.hs`. You then use `cabal test` instead of `cabal run`. |
2024-12-28 15:07:46 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2024-12-28 15:07:29 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-12-28 15:07:03 +0100 | JuanDaugherty | (~juan@user/JuanDaugherty) () |
2024-12-28 15:03:50 +0100 | <int-e> | I suspect you can't do that because it's `cabal build` further down the line either way. You can pass --(dis|en)able-optimization as a command line flag though. |
2024-12-28 15:01:45 +0100 | fp | (~Thunderbi@216-165-226-178.championbroadband.com) (Ping timeout: 252 seconds) |
2024-12-28 15:00:25 +0100 | pavonia | (~user@user/siracusa) (Quit: Bye!) |
2024-12-28 14:59:00 +0100 | <SrPx> | how exactly can I have a cabal project that uses -O0 on cabal run and -O2 on cabal install? documentation is bad |
2024-12-28 14:57:28 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds) |
2024-12-28 14:56:00 +0100 | rvalue | (~rvalue@user/rvalue) rvalue |
2024-12-28 14:55:23 +0100 | rvalue | (~rvalue@user/rvalue) (Read error: Connection reset by peer) |
2024-12-28 14:52:19 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2024-12-28 14:47:07 +0100 | euleritian | (~euleritia@dynamic-176-007-157-163.176.7.pool.telefonica.de) |
2024-12-28 14:46:37 +0100 | euleritian | (~euleritia@dynamic-176-007-157-163.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
2024-12-28 14:39:01 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 248 seconds) |
2024-12-28 14:35:53 +0100 | Nixkernal | (~Nixkernal@90.74.198.178.dynamic.cust.swisscom.net) Nixkernal |
2024-12-28 14:35:17 +0100 | gmg | (~user@user/gehmehgeh) gehmehgeh |
2024-12-28 14:32:05 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2024-12-28 14:30:55 +0100 | gmg | (~user@user/gehmehgeh) (Remote host closed the connection) |
2024-12-28 14:30:55 +0100 | JuanDaugherty | (~juan@user/JuanDaugherty) JuanDaugherty |
2024-12-28 14:29:41 +0100 | <int-e> | The only thing the ghc distro package from Arch is useful for is to potentially bootstrap your own ghc that doesn't rug-pull your shared library with every update. But ghcup will be less hassle. |
2024-12-28 14:27:17 +0100 | <Leary> | plitter: "I'm on arch linux" <-- You answered your own question. |
2024-12-28 14:26:37 +0100 | euleritian | (~euleritia@dynamic-176-007-157-163.176.7.pool.telefonica.de) |
2024-12-28 14:21:51 +0100 | euleritian | (~euleritia@dynamic-176-007-157-163.176.7.pool.telefonica.de) (Read error: Connection reset by peer) |
2024-12-28 14:18:52 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds) |
2024-12-28 14:15:37 +0100 | euleritian | (~euleritia@dynamic-176-007-157-163.176.7.pool.telefonica.de) |
2024-12-28 14:14:28 +0100 | simplystuart | (~simplystu@c-75-75-152-164.hsd1.pa.comcast.net) (Ping timeout: 252 seconds) |
2024-12-28 14:13:53 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2024-12-28 14:11:32 +0100 | dsrt^ | (~dsrt@c-98-242-74-66.hsd1.ga.comcast.net) (Ping timeout: 252 seconds) |
2024-12-28 14:09:42 +0100 | simplystuart | (~simplystu@c-75-75-152-164.hsd1.pa.comcast.net) |
2024-12-28 14:08:14 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds) |
2024-12-28 14:04:50 +0100 | <plitter> | Why am I getting so many errors with ghc-pkg -check? https://termbin.com/nb82 I'm on arch linux, and haven't really configured anything yet. I stumbled on these errors when trying to figure out how to build a small test program, and it failed until I added -dynamic to ghc. |
2024-12-28 14:03:49 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2024-12-28 14:00:47 +0100 | <SrPx> | not perfect but my workflow is muuch better now |
2024-12-28 14:00:31 +0100 | <SrPx> | okay thanks for the help |
2024-12-28 14:00:26 +0100 | <SrPx> | hmm I see |
2024-12-28 13:53:49 +0100 | plitter | (~plitter@user/plitter) plitter |
2024-12-28 13:53:37 +0100 | lxsameer | (~lxsameer@Serene/lxsameer) lxsameer |
2024-12-28 13:52:37 +0100 | euleritian | (~euleritia@dynamic-176-007-157-163.176.7.pool.telefonica.de) (Ping timeout: 248 seconds) |
2024-12-28 13:52:25 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds) |
2024-12-28 13:50:04 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2024-12-28 13:47:28 +0100 | merijn | (~merijn@128-137-045-062.dynamic.caiway.nl) merijn |
2024-12-28 13:43:08 +0100 | euleritian | (~euleritia@dynamic-176-007-157-163.176.7.pool.telefonica.de) |
2024-12-28 13:35:24 +0100 | <Leary> | Re the former option, it really shouldn't be something that disturbs your flow or substantially slows you down; I suspect you need a better (or better configured) WM. |