2024/05/19

Newest at the top

2024-05-19 19:29:18 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-05-19 19:29:04 +0200Guest49(~Guest49@98.97.3.189)
2024-05-19 19:27:18 +0200 <jtza8> Anyhow. Thank you all for your help.
2024-05-19 19:26:41 +0200 <jtza8> Now even the arch ghc is working in a new terminal environment where LOCALE_ARCHIVE wasn't set.
2024-05-19 19:21:35 +0200 <int-e> fascinating
2024-05-19 19:20:48 +0200 <jtza8> int-e: Setting LOCALE_ARCHIVE seems to work too.
2024-05-19 19:17:06 +0200 <jtza8> It seems that when I use nix with developPackage things work correctly too.
2024-05-19 19:15:39 +0200 <int-e> I wonder whether https://nixos.wiki/wiki/Locales is relevant for the Nix version.
2024-05-19 19:14:54 +0200zetef(~quassel@5.2.182.98) (Remote host closed the connection)
2024-05-19 19:12:00 +0200 <jtza8> Interesting. The ghcup version works correctly.
2024-05-19 19:11:41 +0200zetef(~quassel@5.2.182.98)
2024-05-19 19:11:21 +0200pavonia(~user@user/siracusa) (Quit: Bye!)
2024-05-19 19:05:47 +0200ph88(~ph88@2a02:8109:9e26:c800:5ba1:c21c:6f3a:66ba) (Ping timeout: 256 seconds)
2024-05-19 19:05:15 +0200 <int-e> (I don't know what hoops I jumped through for that... it's quite possible that I edited the ghc wrapper script to add -dynamic unconditionally.)
2024-05-19 19:04:38 +0200 <tomsmeding> removing the binary and the ~/.ghcup folder erases all trace of ghcup then
2024-05-19 19:04:23 +0200 <tomsmeding> then take the `ghc-VERSION` from ~/.ghcup/bin/
2024-05-19 19:04:04 +0200 <int-e> I have used Arch. The ghc package is good enough to bootstrap a properly built ghc :P
2024-05-19 19:03:59 +0200 <tomsmeding> then invoke that with `./ghcup install ghc`
2024-05-19 19:03:44 +0200 <tomsmeding> if you don't want ghcup to do things to your computer that you don't want, get a binary from here https://downloads.haskell.org/~ghcup/0.1.22.0/
2024-05-19 19:03:26 +0200 <jtza8> I'll do that now...
2024-05-19 19:03:11 +0200 <tomsmeding> then it would indeed be good to try a ghcup ghc
2024-05-19 19:03:07 +0200 <int-e> odd
2024-05-19 19:03:00 +0200 <tomsmeding> interesting
2024-05-19 19:02:52 +0200 <jtza8> That worked, but the binary failed to run the same way the others did.
2024-05-19 19:02:50 +0200raehik(~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net)
2024-05-19 19:02:47 +0200 <monochrom> Use ghcup's ghc.
2024-05-19 19:02:44 +0200 <tomsmeding> well it is a good test if it can be gotten to work on a simple file
2024-05-19 19:02:33 +0200 <tomsmeding> indeed
2024-05-19 19:02:32 +0200 <monochrom> Oh, I don't mean you should use arch's ghc either. :)
2024-05-19 19:02:27 +0200 <int-e> Ah, the Arch-nemesis.
2024-05-19 19:02:00 +0200 <tomsmeding> jtza8: try 'ghc -dynamic'
2024-05-19 19:01:35 +0200 <jtza8> I've been using ghc 9.6.4 via nix-env. Undoing that for a moment exposes an older version of ghc installed via pacman. Somehow it seems like it's corrupted, that ghc can't find the Prelude module because files are missing. :|
2024-05-19 19:01:31 +0200 <tomsmeding> I know but I like being explicit
2024-05-19 19:01:21 +0200 <geekosaur> the `env` is unnecessary if using a POSIXish shell
2024-05-19 19:01:01 +0200 <int-e> tomsmeding: I... hmm, it depends on my mood. I open and close terminals very frequently, so exporting doesn't usually hurt.
2024-05-19 19:00:20 +0200 <tomsmeding> but indeed bash does warn for mee too
2024-05-19 19:00:10 +0200 <tomsmeding> I very rarely export, I 'env LC_NUMERIC=cheese locale' :p
2024-05-19 18:59:32 +0200 <int-e> Even bash warns me: https://paste.debian.net/1317406/
2024-05-19 18:58:28 +0200 <tomsmeding> but setting LC_ALL overrides everything else, which makes sense but I forgot
2024-05-19 18:58:16 +0200 <tomsmeding> oh hm, I guess it does
2024-05-19 18:57:53 +0200 <tomsmeding> doesn't warn for me
2024-05-19 18:57:19 +0200 <int-e> s/locales were/locale was/
2024-05-19 18:57:08 +0200 <int-e> AFAICS `locale` would warn if the locales were not present
2024-05-19 18:56:36 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-05-19 18:54:14 +0200 <monochrom> What if you don't use nix's version of GHC.
2024-05-19 18:53:32 +0200 <tomsmeding> this is a very standard locale, but who knows
2024-05-19 18:53:14 +0200 <tomsmeding> jtza8: what is the output of `sudo locale-gen`?
2024-05-19 18:52:06 +0200 <jtza8> Still the old codepoint, but I've added the output of 'locale'. https://paste.tomsmeding.com/7YJUc3e0
2024-05-19 18:51:41 +0200aryah(~aryah@141-138-38-218.dsl.iskon.hr) (Ping timeout: 240 seconds)
2024-05-19 18:51:13 +0200 <jtza8> Too true, and that's in part why I'm using the pastebin. ;)