2024/06/16

2024-06-16 00:01:18 +0200nkatte(~nkatte@2804:14c:87de:706b:87a0:289b:bb82:335d)
2024-06-16 00:01:48 +0200nkatte(~nkatte@2804:14c:87de:706b:87a0:289b:bb82:335d) (Changing host)
2024-06-16 00:01:48 +0200nkatte(~nkatte@user/nkatte)
2024-06-16 00:03:43 +0200verde(~user@user/verde) (Quit: Leaving)
2024-06-16 00:04:00 +0200nkatte(~nkatte@user/nkatte) (Client Quit)
2024-06-16 00:04:39 +0200nkatte(~nkatte@2804:14c:87de:706b:87a0:289b:bb82:335d)
2024-06-16 00:05:05 +0200nkatte(~nkatte@2804:14c:87de:706b:87a0:289b:bb82:335d) (Changing host)
2024-06-16 00:05:05 +0200nkatte(~nkatte@user/nkatte)
2024-06-16 00:18:19 +0200leah2(~leah@vuxu.org) (Ping timeout: 255 seconds)
2024-06-16 00:20:43 +0200target_i(~target_i@user/target-i/x-6023099) (Quit: leaving)
2024-06-16 00:31:47 +0200leah2(~leah@vuxu.org)
2024-06-16 00:54:15 +0200acidjnk_new(~acidjnk@p200300d6e714dc5559a3cb0167348b6b.dip0.t-ipconnect.de) (Ping timeout: 264 seconds)
2024-06-16 01:02:04 +0200takuan(~takuan@178-116-218-225.access.telenet.be) (Remote host closed the connection)
2024-06-16 01:03:12 +0200joeyadams(~joeyadams@2603:6010:5100:2ed:37b:d1cb:abb:b85d)
2024-06-16 01:07:18 +0200ocra8(~ocra8@user/ocra8)
2024-06-16 01:23:33 +0200emmanuelux(~emmanuelu@user/emmanuelux)
2024-06-16 01:27:40 +0200pavonia(~user@user/siracusa)
2024-06-16 01:31:11 +0200solaire(~solaire@syn-067-052-091-058.biz.spectrum.com)
2024-06-16 01:37:01 +0200gmg(~user@user/gehmehgeh) (Quit: Leaving)
2024-06-16 01:42:51 +0200solaire(~solaire@syn-067-052-091-058.biz.spectrum.com) (Ping timeout: 264 seconds)
2024-06-16 01:43:32 +0200Lord_of_Life_(~Lord@user/lord-of-life/x-2819915)
2024-06-16 01:43:37 +0200Lord_of_Life(~Lord@user/lord-of-life/x-2819915) (Ping timeout: 268 seconds)
2024-06-16 01:44:54 +0200Lord_of_Life_Lord_of_Life
2024-06-16 01:48:51 +0200sawilagar(~sawilagar@user/sawilagar) (Ping timeout: 264 seconds)
2024-06-16 01:57:43 +0200Tuplanolla(~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.)
2024-06-16 02:30:51 +0200dcoutts_(~duncan@oxfd-27-b2-v4wan-164228-cust163.vm42.cable.virginm.net) (Ping timeout: 264 seconds)
2024-06-16 02:32:53 +0200 <hololeap> anyone know why `cabal update` would be creating a dist-newstyle/ in $PWD ?
2024-06-16 02:43:17 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 240 seconds)
2024-06-16 02:46:05 +0200solaire(~solaire@syn-067-052-091-058.biz.spectrum.com)
2024-06-16 02:50:26 +0200segfaultfizzbuzz(~segfaultf@23-93-189-95.fiber.dynamic.sonic.net) (Remote host closed the connection)
2024-06-16 02:50:50 +0200arahael(~arahael@119-18-1-21.771201.syd.nbn.aussiebb.net)
2024-06-16 02:57:18 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-06-16 02:59:17 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
2024-06-16 03:00:38 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Client Quit)
2024-06-16 03:02:33 +0200Square(~Square@user/square) (Ping timeout: 268 seconds)
2024-06-16 03:14:27 +0200todi(~todi@p57803331.dip0.t-ipconnect.de) (Quit: ZNC - https://znc.in)
2024-06-16 03:14:45 +0200todi(~todi@p57803331.dip0.t-ipconnect.de)
2024-06-16 03:33:38 +0200joeyadams3(~joeyadams@2603:6010:5100:2ed:37b:d1cb:abb:b85d)
2024-06-16 03:34:21 +0200joeyadams(~joeyadams@2603:6010:5100:2ed:37b:d1cb:abb:b85d) (Quit: Leaving)
2024-06-16 03:34:26 +0200joeyadams3(~joeyadams@2603:6010:5100:2ed:37b:d1cb:abb:b85d) (Client Quit)
2024-06-16 03:42:00 +0200 <monochrom> That was a bug. Fixed in a later version. Has been a while.
2024-06-16 03:45:05 +0200raehik(~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net)
2024-06-16 03:50:05 +0200solaire(~solaire@syn-067-052-091-058.biz.spectrum.com) (Ping timeout: 240 seconds)
2024-06-16 03:51:31 +0200solaire(~solaire@209.0.135.98)
2024-06-16 04:01:00 +0200henry40408(~henry4040@175.182.111.183) (Quit: Ping timeout (120 seconds))
2024-06-16 04:01:26 +0200henry40408(~henry4040@175.182.111.183)
2024-06-16 04:01:27 +0200raehik(~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) (Ping timeout: 264 seconds)
2024-06-16 04:05:04 +0200op_4(~tslil@user/op-4/x-9116473) (Remote host closed the connection)
2024-06-16 04:05:34 +0200op_4(~tslil@user/op-4/x-9116473)
2024-06-16 04:13:17 +0200solaire(~solaire@209.0.135.98) (Ping timeout: 240 seconds)
2024-06-16 04:13:50 +0200joeyadams(~joeyadams@2603:6010:5100:2ed:37b:d1cb:abb:b85d)
2024-06-16 04:15:05 +0200solaire(~solaire@syn-067-052-091-058.biz.spectrum.com)
2024-06-16 04:25:45 +0200gorignak(~gorignak@user/gorignak)
2024-06-16 04:30:21 +0200madhavanmi(~madhavanm@2409:40f4:3c:714e:8000::)
2024-06-16 04:31:26 +0200madhavanmi(~madhavanm@2409:40f4:3c:714e:8000::) (Read error: Connection reset by peer)
2024-06-16 04:31:40 +0200madhavanmi(~madhavanm@2a09:bac5:3b14:18be::277:34)
2024-06-16 04:31:44 +0200madhavanmi(~madhavanm@2a09:bac5:3b14:18be::277:34) (Client Quit)
2024-06-16 04:36:11 +0200litharge(litharge@libera/bot/litharge) (Remote host closed the connection)
2024-06-16 04:36:23 +0200litharge(litharge@libera/bot/litharge)
2024-06-16 04:42:52 +0200raehik(~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net)
2024-06-16 04:46:15 +0200phma(~phma@host-67-44-208-57.hnremote.net) (Read error: Connection reset by peer)
2024-06-16 04:48:15 +0200raehik(~raehik@rdng-25-b2-v4wan-169990-cust1344.vm39.cable.virginm.net) (Ping timeout: 264 seconds)
2024-06-16 04:48:45 +0200solaire(~solaire@syn-067-052-091-058.biz.spectrum.com) (Ping timeout: 255 seconds)
2024-06-16 04:48:51 +0200segfaultfizzbuzz(~segfaultf@23-93-189-95.fiber.dynamic.sonic.net)
2024-06-16 04:49:09 +0200solaire(~solaire@syn-067-052-091-058.biz.spectrum.com)
2024-06-16 04:52:27 +0200waleee(~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 264 seconds)
2024-06-16 04:53:43 +0200solaire(~solaire@syn-067-052-091-058.biz.spectrum.com) (Ping timeout: 255 seconds)
2024-06-16 04:54:47 +0200L29Ah(~L29Ah@wikipedia/L29Ah) (Ping timeout: 268 seconds)
2024-06-16 04:57:14 +0200philopsos1(~caecilius@user/philopsos)
2024-06-16 04:57:18 +0200phma(phma@2001:5b0:2172:eb58:a102:8e01:4f76:63c6)
2024-06-16 04:59:22 +0200madhavanmi(~madhavanm@2409:40f4:2017:93b5:8000::)
2024-06-16 04:59:28 +0200madhavanmi(~madhavanm@2409:40f4:2017:93b5:8000::) (Client Quit)
2024-06-16 05:01:05 +0200td_(~td@i53870937.versanet.de) (Ping timeout: 252 seconds)
2024-06-16 05:02:55 +0200td_(~td@i53870926.versanet.de)
2024-06-16 05:07:22 +0200troydm(~troydm@user/troydm)
2024-06-16 05:17:10 +0200 <koala_man> oh fun... riscv gcc does not recognize -march=native
2024-06-16 05:18:27 +0200rdcdr_(~rdcdr@97-113-223-47.tukw.qwest.net) (Quit: ZNC 1.8.2+deb3.1 - https://znc.in)
2024-06-16 05:19:42 +0200rdcdr(~rdcdr@user/rdcdr)
2024-06-16 05:27:19 +0200 <probie> It only supports -march=native on Linux, and only for arm, x86, mips and s390/zSeries (IBM's mainframe architecture). Not all architectures even have a `-march` option (e.g. for SPARC, you want `-mcpu=native`)
2024-06-16 05:28:33 +0200 <geekosaur> go go gadget consistency
2024-06-16 05:34:13 +0200segfaultfizzbuzz(~segfaultf@23-93-189-95.fiber.dynamic.sonic.net) (Ping timeout: 255 seconds)
2024-06-16 05:34:46 +0200 <koala_man> how do I set -f -arch-native for all packages (at least hashable)? I hoped `cabal install ... -f -arch-native` would do that when hashable is a dependency, but I guess not
2024-06-16 05:37:22 +0200segfaultfizzbuzz(~segfaultf@23-93-189-95.fiber.dynamic.sonic.net)
2024-06-16 05:37:54 +0200 <geekosaur> you need a cabal.project: https://paste.tomsmeding.com/LRlWtW77
2024-06-16 05:38:09 +0200 <geekosaur> (although cabal.project.local is preferred for that)
2024-06-16 05:38:47 +0200 <probie> The mistake was having a little consistency. The `-m` flags are the "machine-dependent" options, so I enjoy the implication that it's a bug not to be able to use them in machine-independent way
2024-06-16 05:40:01 +0200 <geekosaur> note that flags in different packages aren't guaranteed to mean the same thing, so you probably want `package hashable` instead of `package *`
2024-06-16 05:41:13 +0200 <geekosaur> and re what probie said, you can conditionalize on cpu or platform in cabal.project{,.local} if needed
2024-06-16 05:41:37 +0200 <geekosaur> (but not on flags because they're a property of cabal files, not projects)
2024-06-16 05:41:39 +0200aforemny_(~aforemny@2001:9e8:6ceb:e600:2c9:e941:ad5c:4927) (Ping timeout: 268 seconds)
2024-06-16 05:42:09 +0200aforemny(~aforemny@i59F516F9.versanet.de)
2024-06-16 05:50:15 +0200 <koala_man> I tried googling things and put `package hashable\n flags: -arch-native` in my ~/.cabal/config, but it says "Unrecognized stanza"
2024-06-16 05:50:44 +0200 <geekosaur> no, it doesn't go in .cabal/config
2024-06-16 05:50:55 +0200 <geekosaur> it goes in cabal.project.local
2024-06-16 05:51:24 +0200 <koala_man> oh. I misinterpreted https://cabal.readthedocs.io/en/3.4/cabal-project.html which lists the order of files as 1. ~/cabal/config 2. cabal.project
2024-06-16 05:51:29 +0200 <geekosaur> cabal doesn't have a way to do it system-wide / a "default project"
2024-06-16 05:52:00 +0200 <geekosaur> stack does, but disrecommends using it (in particular, if you have a stack.yaml it will _not_ inherit from the default config!)]
2024-06-16 05:52:20 +0200 <geekosaur> right, that's only valid for things that can go in .cabal/config
2024-06-16 05:52:36 +0200 <geekosaur> lots of things in cabal.project can't be put in the global config
2024-06-16 05:54:17 +0200 <koala_man> I'm trying to do a build in docker, but it's running under a riscv emulator so I want to build the dependencies beforehand to reduce the build time from 5 to 2 hours
2024-06-16 05:55:36 +0200 <koala_man> ideally I'd cross compile but ghc is not great at that
2024-06-16 05:57:30 +0200 <geekosaur> `cabal build all --only-dependencies`?
2024-06-16 05:58:54 +0200 <koala_man> can I specify a cabal.project when I do `cabal install --dependencies-only ShellCheck`?
2024-06-16 05:59:21 +0200 <geekosaur> --project=file=whatever
2024-06-16 05:59:33 +0200 <geekosaur> uh
2024-06-16 05:59:38 +0200 <geekosaur> --project-file=whatever
2024-06-16 06:00:37 +0200 <koala_man> I get "The given project file 'cabal.project' does not exist." even though it's in the current directory
2024-06-16 06:01:20 +0200 <koala_man> https://gist.github.com/koalaman/25ac21b7db51c7d4fe1cc3664b9f6db8
2024-06-16 06:03:35 +0200segfaultfizzbuzz(~segfaultf@23-93-189-95.fiber.dynamic.sonic.net) (Ping timeout: 264 seconds)
2024-06-16 06:05:25 +0200 <geekosaur> what version of cabal-install is this? I think some bugs have been fixed recently-ish (3.10.2/3?)
2024-06-16 06:06:14 +0200bilegeek(~bilegeek@2600:1008:b050:5afd:bc8c:2176:cbd5:b594)
2024-06-16 06:06:50 +0200 <koala_man> definitely older. I'll try upgrading
2024-06-16 06:10:16 +0200madhavanmi(~madhavanm@2409:40f4:10fb:ebb4:8000::)