Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→ 1,804,487 events total
2021-08-25 09:42:32 × mikoto-chan quits (~mikoto-ch@ip-83-134-2-136.dsl.scarlet.be) (Quit: mikoto-chan)
2021-08-25 09:42:59 <Kabouik> My hopes are high. I think it's going to work now.
2021-08-25 09:43:22 <maerwald> are there docker images for solus?
2021-08-25 09:43:43 <fvr> is there a way to tell cabal to track an external file that I use with file-embed
2021-08-25 09:43:52 <Kabouik> So in the end it was probably just missing dependencies (ghc-devel and haskel-network-devel) that I failed to grasp from the cabal error output
2021-08-25 09:44:18 <Kabouik> I'm not sure maerwald, but you could try it real quick with distrotest.net if you want to investigate the system
2021-08-25 09:44:24 <int-e> fvr: there's extra-source-files
2021-08-25 09:45:12 <maerwald> I'm gonna check if ghcup works on solus
2021-08-25 09:45:26 <maerwald> https://hub.docker.com/r/silkeh/solus looks like an unofficial build
2021-08-25 09:46:30 <fvr> int-e: cool it's working, I assumed it was only for sdist
2021-08-25 09:48:00 <Kabouik> While I'm here, once I've compiled something with cabal and use the binary, what is the best way to free some space with the build files? `cabal new-clean` or is there something else I can delete?
2021-08-25 09:49:27 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-08-25 09:49:27 Topsi joins (~Tobias@dyndsl-095-033-024-207.ewe-ip-backbone.de)
2021-08-25 09:49:35 <maerwald> Kabouik: ~/.cabal/store
2021-08-25 09:49:42 jgeerds joins (~jgeerds@55d4b311.access.ecotel.net)
2021-08-25 09:49:46 <maerwald> but
2021-08-25 09:50:16 <Kabouik> ~/.cabal/packages should stay, correct?
2021-08-25 09:50:38 <maerwald> I wouldn't mess with it at all, unless you're in a docker container or whatever
2021-08-25 09:50:43 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-25 09:50:44 eggplantade joins (~Eggplanta@2600:1700:bef1:5e10:7d34:8159:5b95:6b5e)
2021-08-25 09:50:55 drd joins (~drd@2001:b07:a70:9f1f:1562:34de:f50f:77d4)
2021-08-25 09:51:06 <maerwald> you're on your own... manually deleting files there isn't supported
2021-08-25 09:51:29 <Kabouik> No, unfortunately it's all messy and I'm compiling everything directly on my main machines, with no compartimentation. Hence the clutter sometimes, and the urge to clean it a bit.
2021-08-25 09:51:33 gehmehgeh joins (~user@user/gehmehgeh)
2021-08-25 09:51:50 <int-e> nuking ~/.cabal/packages is harmless if you don't care about bandwidth (it's reconstructed by `update`)
2021-08-25 09:52:20 <Kabouik> Good, thanks! That'll do it then. ~/.cabal/packages is by far the biggest folder there.
2021-08-25 09:53:34 <Kabouik> Doh, so my hopes were high, and I was pretty confident when I was at step 112 on 112, but it eventually failed: https://p.teknik.io/Simple/mbaGf
2021-08-25 09:54:08 <maerwald> Kabouik: I'd recommend installing ghc differently, I'm currently testing it on solus
2021-08-25 09:54:24 <Kabouik> Alright
2021-08-25 09:54:57 × eggplantade quits (~Eggplanta@2600:1700:bef1:5e10:7d34:8159:5b95:6b5e) (Ping timeout: 250 seconds)
2021-08-25 09:55:06 <maerwald> Kabouik: https://www.haskell.org/ghcup/
2021-08-25 09:55:30 <Kabouik> I already saw this actually, now I wonder if that's not what I did
2021-08-25 09:55:34 <Kabouik> Doesn't hurt to try though
2021-08-25 09:55:45 × jgeerds quits (~jgeerds@55d4b311.access.ecotel.net) (Ping timeout: 248 seconds)
2021-08-25 09:55:49 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 250 seconds)
2021-08-25 09:56:04 <maerwald> the docker container doesn't work well
2021-08-25 09:56:15 <maerwald> eopkg wants to access systemd or something
2021-08-25 09:56:41 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-25 09:56:41 <int-e> Kabouik: those are more packages you've installed system-wide, aren't they... and missing a -devel package, presumably
2021-08-25 09:57:46 <Kabouik> I don't think I would have installed all those packages manually system-wide (or I hope I didn't), but I suspect only the first could be the issue and the others are cascading effects
2021-08-25 09:58:43 <maerwald> Kabouik: https://gitlab.com/silkeh/docker-solus/-/issues/2
2021-08-25 09:58:46 <int-e> Well... let me pick the one of them, gitrev... it came up in your ghc-pkg output indeed.
2021-08-25 09:58:50 mikoto-chan joins (~mikoto-ch@ip-83-134-2-136.dsl.scarlet.be)
2021-08-25 09:58:53 <maerwald> no idea what this pkg manager is doing
2021-08-25 09:59:08 × burnsidesLlama quits (~burnsides@dhcp168-022.wadham.ox.ac.uk) (Remote host closed the connection)
2021-08-25 09:59:18 jakalx joins (~jakalx@base.jakalx.net)
2021-08-25 09:59:40 burnsidesLlama joins (~burnsides@dhcp168-022.wadham.ox.ac.uk)
2021-08-25 09:59:57 <int-e> Kabouik: Maybe you installed some haskell-based software that uses those libraries. (Not sure what it could be... pandoc maybe?)
2021-08-25 10:00:00 <Kabouik> I don't think eopkg is too invasive, I never saw people complaining about it so I assume it's not doing too much unexpected stuff. I admit that's not a very scientific investigation though.
2021-08-25 10:00:06 <Kabouik> ghcup failed too maerwald: https://p.teknik.io/Simple/HmoeF
2021-08-25 10:00:17 <Kabouik> That could be, totally
2021-08-25 10:00:29 <maerwald> Kabouik: libtinfo.so.6
2021-08-25 10:00:33 <maerwald> can you install that?
2021-08-25 10:01:28 <Kabouik> It's in ncurses, I have it installed already
2021-08-25 10:01:48 <int-e> Kabouik: Anyway those seem to be your options: 1) manage your own ghc installation that doesn't suffer from a split into runtime and development packages (ghcup is one way to do that) or 2) install all the missing development packages
2021-08-25 10:01:59 <Kabouik> I have a haskell-extensible-devel package available in the repo, could try that too (it's the first error in the matterhorn build)
2021-08-25 10:02:09 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 248 seconds)
2021-08-25 10:02:19 <Kabouik> I have to go to lunch with colleagues, will resume later. Thanks a lot for your help folks, greatly appreciated.
2021-08-25 10:02:25 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-25 10:03:24 <maerwald> Kabouik: ghcup install ghc -u https://downloads.haskell.org/~ghc/8.10.6/ghc-8.10.6-x86_64-deb9-linux.tar.xz 8.10.6
2021-08-25 10:03:31 <maerwald> I believe this should work
2021-08-25 10:03:35 <maerwald> deb9 has ncurses5
2021-08-25 10:03:45 × burnsidesLlama quits (~burnsides@dhcp168-022.wadham.ox.ac.uk) (Ping timeout: 248 seconds)
2021-08-25 10:07:40 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-08-25 10:07:48 Erutuon joins (~Erutuon@user/erutuon)
2021-08-25 10:08:02 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-25 10:08:04 <maerwald> well, this isn't a well working distro :p
2021-08-25 10:08:29 <maerwald> the way it blows up in docker containers is suspicious
2021-08-25 10:09:42 jtomas joins (~jtomas@233.red-83-34-2.dynamicip.rima-tde.net)
2021-08-25 10:11:40 × famubu quits (~famubu@14.139.174.50) (Ping timeout: 240 seconds)
2021-08-25 10:13:21 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 248 seconds)
2021-08-25 10:14:02 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-25 10:19:13 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 250 seconds)
2021-08-25 10:19:31 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-25 10:20:07 × Erutuon quits (~Erutuon@user/erutuon) (Ping timeout: 252 seconds)
2021-08-25 10:20:17 teo joins (~teo@137.220.120.222)
2021-08-25 10:22:14 × earthy quits (~arthurvl@2001:984:275b:1:ba27:ebff:fea0:40b0) (Ping timeout: 272 seconds)
2021-08-25 10:22:36 jakalx parts (~jakalx@base.jakalx.net) (Error from remote client)
2021-08-25 10:22:38 × tnks quits (sid412124@id-412124.brockwell.irccloud.com) ()
2021-08-25 10:22:53 tnks joins (sid412124@id-412124.helmsley.irccloud.com)
2021-08-25 10:24:27 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-08-25 10:25:09 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-25 10:30:34 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
2021-08-25 10:30:56 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-25 10:31:51 × conjunctive quits (sid433686@brockwell.irccloud.com) ()
2021-08-25 10:32:06 conjunctive joins (sid433686@id-433686.helmsley.irccloud.com)
2021-08-25 10:36:07 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds)
2021-08-25 10:36:36 <frobnicator> can I write this shorter?: let x = 42 :: Integer in [|\i -> i + $(pure $ LitE $ IntegerL x)|]
2021-08-25 10:36:52 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-25 10:37:26 <frobnicator> from the documentation it seems that I should be able to write: let x = 42 :: Integer in runQ [|\i -> i + $x|]
2021-08-25 10:37:52 <frobnicator> I'm having a hard time with the quasiquotes from templatehaskell
2021-08-25 10:39:46 burnsidesLlama joins (~burnsides@dhcp168-022.wadham.ox.ac.uk)
2021-08-25 10:40:21 × grfn quits (sid449115@id-449115.brockwell.irccloud.com) ()
2021-08-25 10:40:35 grfn joins (sid449115@id-449115.helmsley.irccloud.com)
2021-08-25 10:42:09 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 248 seconds)
2021-08-25 10:42:47 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-08-25 10:44:31 × truckasaurus quits (sid457088@id-457088.brockwell.irccloud.com) ()
2021-08-25 10:44:46 truckasaurus joins (sid457088@id-457088.helmsley.irccloud.com)
2021-08-25 10:45:03 <int-e> frobnicator: pure . LitE can be replaced by litE. Other than that, this `lift` comes to mind: https://hackage.haskell.org/package/th-lift-0.8.2/docs/Language-Haskell-TH-Lift.html#v:lift
2021-08-25 10:45:13 × burnsidesLlama quits (~burnsides@dhcp168-022.wadham.ox.ac.uk) (Ping timeout: 250 seconds)

All times are in UTC.