2024/04/29

Newest at the top

2024-04-29 06:12:39 +0200 <jackdk> That is a three-year-old version of `bytestring`, and it had a correct upper bound which we just told GHC to ignore. Try adding `constraints: bytestring ^>= 0.12.1.0` to your `cabal.project` to see if it gives you a better shot at building.
2024-04-29 06:11:45 +0200hgolden(~hgolden@2603:8000:9d00:3ed1:2678:8497:aa5c:7fa9)
2024-04-29 06:11:40 +0200 <andrewboltachev> will try cabal.project file with this now (didn't work 'cause of "base" error as well): https://github.com/tweag/ormolu/tree/master/ormolu-live
2024-04-29 06:10:27 +0200 <andrewboltachev> wow: https://paste.tomsmeding.com/AKjcvAqu
2024-04-29 06:09:30 +0200ski(~ski@ext-1-033.eduroam.chalmers.se)
2024-04-29 06:09:08 +0200ski(~ski@ext-1-033.eduroam.chalmers.se) (Ping timeout: 252 seconds)
2024-04-29 06:08:19 +0200hgolden(~hgolden@2603:8000:9d00:3ed1:f849:272c:fda5:33c9) (Remote host closed the connection)
2024-04-29 06:07:34 +0200 <jackdk> Create a `cabal.project` file next to your `.cabal` file, telling cabal that it's allowed to relax the `base` bound for all pacakges: https://www.irccloud.com/pastebin/anN72RgX/cabal.project
2024-04-29 06:07:34 +0200 <andrewboltachev> I think I've launched an exported function from the wasm file successfully
2024-04-29 06:06:33 +0200 <andrewboltachev> The Glorious Glasgow Haskell Compilation System, version 9.11.20240420
2024-04-29 06:06:32 +0200 <andrewboltachev> ➜ h1 git:(master) ✗ wasm32-wasi-ghc --version
2024-04-29 06:05:56 +0200 <andrewboltachev> yes, I think I need that
2024-04-29 06:05:22 +0200 <jackdk> Also, if you're playing with WASM, only 9.10 has the WASM->JS FFI
2024-04-29 06:05:20 +0200 <andrewboltachev> as deps that are deep in the tree ask for 4.19. 4.20 is too new (and an answer to all of the universe or sth)
2024-04-29 06:05:07 +0200 <jackdk> It is possible to override those bounds, one sec
2024-04-29 06:04:30 +0200 <andrewboltachev> so I think I should get compiler that will provide 4.19
2024-04-29 06:04:09 +0200 <andrewboltachev> well it's this then: https://paste.tomsmeding.com/fT1guof4
2024-04-29 06:03:59 +0200_ht(~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
2024-04-29 06:02:32 +0200 <andrewboltachev> jackdk: aha, trying
2024-04-29 05:56:02 +0200 <jackdk> (`s/I would get/I would guess/`)
2024-04-29 05:55:34 +0200 <jackdk> andrewboltachev: whatever your `h1` package is (is it the name of your test program?), it's claiming a dependency on `base-4.19.1.0`, but the compiler you're using provides `base-4.20.0.0`. https://wiki.haskell.org/Base_package has not updated to list `4.20.0.0`, but I would get it's the GHC 9.10 RC? I would try adjusting the `base` bound in `h1.cabal` to `== 4.20.0.0` to see if that gets you moving.
2024-04-29 05:53:16 +0200cashew(~cashewsta@65.17.175.150) (Remote host closed the connection)
2024-04-29 05:52:41 +0200 <andrewboltachev> base==4.19.1.0)
2024-04-29 05:52:41 +0200 <andrewboltachev> [__1] rejecting: base-4.20.0.0/installed-inplace (conflict: h1 =>
2024-04-29 05:52:40 +0200 <andrewboltachev> [__1] next goal: base (dependency of h1)
2024-04-29 05:52:40 +0200 <andrewboltachev> [__0] trying: h1-0.1.0.0 (user goal)
2024-04-29 05:52:39 +0200 <andrewboltachev> Error: cabal: Could not resolve dependencies:
2024-04-29 05:52:38 +0200 <andrewboltachev> I have a simple WebAssembly project and Cabal is saying me:
2024-04-29 05:52:09 +0200xigua(~xigua@user/xigua)
2024-04-29 05:51:55 +0200xigua(~xigua@user/xigua) (Read error: Connection reset by peer)
2024-04-29 05:51:47 +0200 <andrewboltachev> Hello! Does anyone has example of successful wasm32-wasi-cabal builds? Aka cabal in non-standard environments
2024-04-29 05:51:01 +0200andrewboltachev(~andrewbol@178.141.238.156)
2024-04-29 05:50:01 +0200ec(~ec@gateway/tor-sasl/ec)
2024-04-29 05:44:02 +0200ec(~ec@gateway/tor-sasl/ec) (Ping timeout: 260 seconds)
2024-04-29 05:41:10 +0200cashew(~cashewsta@65.17.175.150)
2024-04-29 05:35:25 +0200JimL(~quassel@89.162.16.26)
2024-04-29 05:32:30 +0200JimL(~quassel@89.162.16.26) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
2024-04-29 05:27:13 +0200ddellacosta(~ddellacos@ool-44c73d29.dyn.optonline.net)
2024-04-29 05:19:27 +0200peterbecich(~Thunderbi@47.229.123.186) (Ping timeout: 268 seconds)
2024-04-29 05:09:44 +0200aforemny_(~aforemny@i59f516da.versanet.de) (Ping timeout: 252 seconds)
2024-04-29 05:09:08 +0200aforemny(~aforemny@i59F516F8.versanet.de)
2024-04-29 05:08:51 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
2024-04-29 05:01:15 +0200philopsos(~caecilius@user/philopsos) (Ping timeout: 268 seconds)
2024-04-29 05:00:27 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 255 seconds)
2024-04-29 04:50:07 +0200philopsos(~caecilius@user/philopsos)
2024-04-29 04:38:15 +0200cashew(~cashewsta@65.17.175.150) (Remote host closed the connection)
2024-04-29 04:35:47 +0200machinedgod(~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 260 seconds)
2024-04-29 04:32:15 +0200td_(~td@i5387093D.versanet.de)
2024-04-29 04:31:18 +0200peterbecich(~Thunderbi@47.229.123.186)
2024-04-29 04:30:20 +0200td_(~td@i53870914.versanet.de) (Ping timeout: 245 seconds)