Logs: liberachat/#haskell
| 2021-06-30 05:13:40 | → | v01d4lph4 joins (~v01d4lph4@122.160.65.250) |
| 2021-06-30 05:13:40 | × | v01d4lph4 quits (~v01d4lph4@122.160.65.250) (Changing host) |
| 2021-06-30 05:13:40 | → | v01d4lph4 joins (~v01d4lph4@user/v01d4lph4) |
| 2021-06-30 05:17:29 | × | warnz quits (~warnz@2600:1700:77c0:5610:eca1:bc9d:4345:931f) (Ping timeout: 256 seconds) |
| 2021-06-30 05:18:18 | → | roybatter joins (~roybatter@S010600fc8d321b13.vn.shawcable.net) |
| 2021-06-30 05:20:16 | × | roybatter quits (~roybatter@S010600fc8d321b13.vn.shawcable.net) (Client Quit) |
| 2021-06-30 05:21:50 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-06-30 05:23:11 | → | img joins (~img@user/img) |
| 2021-06-30 05:26:08 | × | hgolden quits (~hgolden2@cpe-172-114-84-61.socal.res.rr.com) (Remote host closed the connection) |
| 2021-06-30 05:27:15 | → | jneira joins (~jneira@212.8.115.226) |
| 2021-06-30 05:28:42 | → | thyriaen joins (~thyriaen@45.178.75.13) |
| 2021-06-30 05:29:34 | × | thyriaen quits (~thyriaen@45.178.75.13) (Client Quit) |
| 2021-06-30 05:32:22 | → | takuan joins (~takuan@178-116-218-225.access.telenet.be) |
| 2021-06-30 05:32:33 | × | Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection) |
| 2021-06-30 05:33:04 | → | Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) |
| 2021-06-30 05:34:28 | × | falafel quits (~falafel@pool-96-255-70-50.washdc.fios.verizon.net) (Ping timeout: 265 seconds) |
| 2021-06-30 05:36:41 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-06-30 05:38:04 | → | img joins (~img@user/img) |
| 2021-06-30 05:42:40 | × | Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) (Ping timeout: 252 seconds) |
| 2021-06-30 05:45:02 | → | Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) |
| 2021-06-30 05:50:40 | × | cjb quits (~cjb@user/cjb) () |
| 2021-06-30 05:53:45 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-06-30 05:55:06 | → | img joins (~img@user/img) |
| 2021-06-30 05:57:28 | → | matsurago joins (~matsurago@p0602864-vcngn.tkyo.nt.ngn.ppp.ocn.ne.jp) |
| 2021-06-30 05:58:14 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 2021-06-30 05:59:52 | <hjulle[m]> | What are the v2- commands that corresponds to `cabal v1-copy` and `cabal v1-register`? |
| 2021-06-30 06:00:25 | × | Kaiepi quits (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) (Remote host closed the connection) |
| 2021-06-30 06:00:41 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 250 seconds) |
| 2021-06-30 06:00:47 | → | Kaiepi joins (~Kaiepi@nwcsnbsc03w-47-54-173-93.dhcp-dynamic.fibreop.nb.bellaliant.net) |
| 2021-06-30 06:01:09 | <sclv> | there are none |
| 2021-06-30 06:01:20 | <sclv> | thats not part of the v2 workflow |
| 2021-06-30 06:02:14 | <mjrosenb> | I like barely figured out how to use cabal. I should probably figure out how to use v2. |
| 2021-06-30 06:05:18 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-06-30 06:05:59 | <hjulle[m]> | So if I have a script that uses them (to build a debian package), I should simply keep using `cabal v1-copy` and hope that it doesn't go away? |
| 2021-06-30 06:06:40 | → | img joins (~img@user/img) |
| 2021-06-30 06:07:02 | <sclv> | well that depends on what the general context of the whole build is |
| 2021-06-30 06:07:25 | <sclv> | arguably there should be a v2 way to do what you want, but you haven't described the case clearly enough |
| 2021-06-30 06:07:48 | <sclv> | if its to build the library itself as a debian package then stick to v1, yes |
| 2021-06-30 06:08:12 | <sclv> | in the v2 model, the idea of distro-packaged binary builds of libraries itself is semi-obseleted |
| 2021-06-30 06:10:03 | × | tromp quits (~textual@dhcp-077-249-230-040.chello.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
| 2021-06-30 06:10:27 | o | is now known as niko |
| 2021-06-30 06:11:22 | <hjulle[m]> | I don't know how the scripts worked, I just noticed that the builds failed because of `cabal: unrecognised command: copy`, so I was wondering if I should try to convert to the v2- versions while I'm at it instead of just adding a v1- prefix. |
| 2021-06-30 06:11:22 | <hjulle[m]> | The debian package in question contains both binaries from the haskell package and haskell libraries with bindings to c-code. |
| 2021-06-30 06:14:07 | <hjulle[m]> | Thanks! I think I'll just add the v1- prefix for now. Do I have to worry about it disappearing any time soon? |
| 2021-06-30 06:14:41 | <dminuoso> | Yes. |
| 2021-06-30 06:14:44 | × | kuribas quits (~user@ptr-25vy0i8agiojdg3pjev.18120a2.ip6.access.telenet.be) (Ping timeout: 268 seconds) |
| 2021-06-30 06:15:06 | <dminuoso> | Well soon™ |
| 2021-06-30 06:16:08 | <hjulle[m]> | What's the v2- method for just copying the compiled binaries? |
| 2021-06-30 06:16:21 | <dminuoso> | Depends, which cabal version do you have installed? |
| 2021-06-30 06:17:13 | <dminuoso> | If you want a more backwards sure way, use `cabal-plan list-bin` (you can install cabal-plan with `cabal install cabal-plan`), but since 3.4.0.0 (?) list-bin has been added to cabal-install itself. |
| 2021-06-30 06:17:20 | <hjulle[m]> | I don't know. I want it to be compatible with as many versions as possible, since it's a script that I will not run myself. |
| 2021-06-30 06:17:20 | <dminuoso> | So with modern cabal you'd write something like: |
| 2021-06-30 06:17:40 | <dminuoso> | cp $(cabal -v0 list-bin foo:exe:bar) ./the_binary |
| 2021-06-30 06:17:46 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-06-30 06:18:00 | <dminuoso> | You can also jq directly into the build plan yourself if you like |
| 2021-06-30 06:18:15 | <dminuoso> | For a script this is likely a bit more robust if you cant control the version of cabal and what haskell packages are installed |
| 2021-06-30 06:19:27 | <davean> | well you can tell cabal to copy it somewhere with install |
| 2021-06-30 06:19:39 | <dminuoso> | Ah heh, I guess there's also that. :) |
| 2021-06-30 06:20:18 | <hjulle[m]> | This is the script in question: https://github.com/GrammaticalFramework/gf-core/blob/master/debian/rules |
| 2021-06-30 06:20:20 | <davean> | That goes back a long way |
| 2021-06-30 06:22:18 | → | lavaman joins (~lavaman@98.38.249.169) |
| 2021-06-30 06:22:40 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 256 seconds) |
| 2021-06-30 06:24:20 | → | dhouthoo joins (~dhouthoo@178-117-36-167.access.telenet.be) |
| 2021-06-30 06:26:14 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-06-30 06:26:17 | ← | jakalx parts (~jakalx@base.jakalx.net) (Error from remote client) |
| 2021-06-30 06:26:40 | × | lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 252 seconds) |
| 2021-06-30 06:27:46 | × | peterhil quits (~peterhil@dsl-hkibng32-54f849-252.dhcp.inet.fi) (Ping timeout: 256 seconds) |
| 2021-06-30 06:29:07 | → | img joins (~img@user/img) |
| 2021-06-30 06:30:28 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 2021-06-30 06:32:35 | → | tromp joins (~textual@dhcp-077-249-230-040.chello.nl) |
| 2021-06-30 06:33:52 | → | nate1 joins (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) |
| 2021-06-30 06:34:39 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-06-30 06:35:40 | → | zeenk joins (~zeenk@2a02:2f04:a106:9600:82fb:aed9:ca9:38d3) |
| 2021-06-30 06:36:21 | → | kenran joins (~kenran@b2b-37-24-119-190.unitymedia.biz) |
| 2021-06-30 06:38:45 | × | nate1 quits (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 265 seconds) |
| 2021-06-30 06:39:02 | × | img quits (~img@user/img) (Quit: ZNC 1.8.2 - https://znc.in) |
| 2021-06-30 06:40:21 | → | img joins (~img@user/img) |
| 2021-06-30 06:41:00 | → | boxscape_ joins (~boxscape_@p4ff0ba7a.dip0.t-ipconnect.de) |
| 2021-06-30 06:41:11 | × | img quits (~img@user/img) (Client Quit) |
| 2021-06-30 06:41:56 | × | favonia quits (~favonia@user/favonia) (Ping timeout: 256 seconds) |
| 2021-06-30 06:42:04 | × | boxscape_ quits (~boxscape_@p4ff0ba7a.dip0.t-ipconnect.de) (Client Quit) |
| 2021-06-30 06:42:35 | → | img joins (~img@user/img) |
| 2021-06-30 06:42:46 | → | favonia joins (~favonia@user/favonia) |
| 2021-06-30 06:48:55 | → | stevenxl joins (~stevenlei@174.128.182.51) |
| 2021-06-30 06:49:29 | ← | jakalx parts (~jakalx@base.jakalx.net) () |
| 2021-06-30 06:50:32 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 2021-06-30 06:50:56 | → | gehmehgeh joins (~user@user/gehmehgeh) |
| 2021-06-30 06:51:07 | → | hgolden joins (~hgolden2@cpe-172-114-84-61.socal.res.rr.com) |
| 2021-06-30 06:52:30 | → | cfricke joins (~cfricke@user/cfricke) |
| 2021-06-30 06:53:06 | × | stevenxl quits (~stevenlei@174.128.182.51) (Ping timeout: 240 seconds) |
| 2021-06-30 06:56:30 | → | chele joins (~chele@user/chele) |
| 2021-06-30 06:58:25 | ← | jakalx parts (~jakalx@base.jakalx.net) (Error from remote client) |
| 2021-06-30 06:59:17 | → | mikoto-chan joins (~mikoto-ch@ip-213-49-189-31.dsl.scarlet.be) |
| 2021-06-30 07:01:07 | → | jakalx joins (~jakalx@base.jakalx.net) |
| 2021-06-30 07:04:39 | → | peterhil joins (~peterhil@dsl-hkibng32-54f849-252.dhcp.inet.fi) |
| 2021-06-30 07:05:10 | → | fendor joins (~fendor@77.119.195.142.wireless.dyn.drei.com) |
| 2021-06-30 07:05:20 | × | shutdown_-h_now quits (~arjan@82-75-187-100.cable.dynamic.v4.ziggo.nl) (Ping timeout: 265 seconds) |
| 2021-06-30 07:09:36 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 272 seconds) |
| 2021-06-30 07:10:16 | × | acidjnk quits (~acidjnk@p200300d0c72b95720002fc1121ac54e4.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
| 2021-06-30 07:11:30 | → | shutdown_-h_now joins (~arjan@82-75-187-100.cable.dynamic.v4.ziggo.nl) |
All times are in UTC.