Logs: freenode/#haskell
| 2021-04-22 17:47:18 | <fresheyeball> | how can I install one executable? |
| 2021-04-22 17:47:22 | <monochrom> | Yes seven_three. |
| 2021-04-22 17:47:34 | <fresheyeball> | cabal install myTarget works |
| 2021-04-22 17:47:52 | <fresheyeball> | ./Setup install myTarget fails, it' thinks myTarget is suppoed to be a flag |
| 2021-04-22 17:47:55 | → | wraithm joins (~wraithm@unaffiliated/wraithm) |
| 2021-04-22 17:48:12 | <monochrom> | Right, I think Setup.hs doesn't support this. |
| 2021-04-22 17:48:34 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (*.net *.split) |
| 2021-04-22 17:48:34 | × | stree quits (~stree@68.36.8.116) (*.net *.split) |
| 2021-04-22 17:48:34 | × | haasn quits (~nand@mpv/developer/haasn) (*.net *.split) |
| 2021-04-22 17:48:34 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (*.net *.split) |
| 2021-04-22 17:48:34 | × | Sgeo quits (~Sgeo@ool-18b98aa4.dyn.optonline.net) (*.net *.split) |
| 2021-04-22 17:48:34 | × | unlink2 quits (~unlink2@p57b8541f.dip0.t-ipconnect.de) (*.net *.split) |
| 2021-04-22 17:48:35 | × | machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (*.net *.split) |
| 2021-04-22 17:48:36 | × | notzmv quits (~zmv@unaffiliated/zmv) (*.net *.split) |
| 2021-04-22 17:48:36 | × | ephemera_ quits (~E@122.34.1.187) (*.net *.split) |
| 2021-04-22 17:48:36 | × | glamas quits (~glamas@107.182.17.237) (*.net *.split) |
| 2021-04-22 17:48:36 | × | davros quits (~davros@host86-185-126-190.range86-185.btcentralplus.com) (*.net *.split) |
| 2021-04-22 17:48:37 | × | ukari quits (~ukari@unaffiliated/ukari) (*.net *.split) |
| 2021-04-22 17:48:38 | × | cohn quits (~noone@unaffiliated/cohn) (*.net *.split) |
| 2021-04-22 17:48:38 | × | charukiewicz quits (~quassel@irouteince04.i.subnet.rcn.com) (*.net *.split) |
| 2021-04-22 17:48:39 | × | MidAutumnHotaru quits (~MidAutumn@unaffiliated/midautumnhotaru) (*.net *.split) |
| 2021-04-22 17:48:39 | × | tms_ quits (thomaav@cassarossa.samfundet.no) (*.net *.split) |
| 2021-04-22 17:48:39 | × | jrm quits (~jrm@freebsd/developer/jrm) (*.net *.split) |
| 2021-04-22 17:48:40 | × | L1Cafe quits (~L1Cafe@kydara.com) (*.net *.split) |
| 2021-04-22 17:48:40 | × | dcoutts__ quits (~duncan@94.186.125.91.dyn.plus.net) (*.net *.split) |
| 2021-04-22 17:48:40 | × | apoc quits (~apoc@49.12.13.193) (*.net *.split) |
| 2021-04-22 17:48:41 | × | malthe quits (~mborch@46.101.103.63) (*.net *.split) |
| 2021-04-22 17:48:41 | × | carbolymer quits (~carbolyme@dropacid.net) (*.net *.split) |
| 2021-04-22 17:48:41 | × | L29Ah quits (~L29Ah@unaffiliated/l29ah) (*.net *.split) |
| 2021-04-22 17:48:42 | × | rann quits (sid175221@gateway/web/irccloud.com/x-jkryvxnehqtlncpj) (*.net *.split) |
| 2021-04-22 17:48:42 | × | dmj` quits (sid72307@gateway/web/irccloud.com/x-crrlyvbcezdwisgb) (*.net *.split) |
| 2021-04-22 17:48:42 | × | smerdyakov quits (~dan@5.146.195.164) (*.net *.split) |
| 2021-04-22 17:48:42 | × | bob_twinkles quits (~quassel@ec2-52-37-66-13.us-west-2.compute.amazonaws.com) (*.net *.split) |
| 2021-04-22 17:48:42 | × | amosbird quits (~amosbird@13.75.119.182) (*.net *.split) |
| 2021-04-22 17:48:42 | × | xlei quits (znc@unaffiliated/xlei) (*.net *.split) |
| 2021-04-22 17:48:43 | × | haya quits (~haya@ec2-18-231-117-140.sa-east-1.compute.amazonaws.com) (*.net *.split) |
| 2021-04-22 17:48:43 | × | oleks quits (~oleks@188.166.34.97) (*.net *.split) |
| 2021-04-22 17:48:43 | × | wraithm_ quits (~wraithm@unaffiliated/wraithm) (*.net *.split) |
| 2021-04-22 17:48:43 | × | texasmynsted quits (~texasmyns@99.96.221.112) (*.net *.split) |
| 2021-04-22 17:48:43 | × | dminuoso_ quits (~dminuoso@static.88-198-218-68.clients.your-server.de) (*.net *.split) |
| 2021-04-22 17:48:43 | × | falsifian quits (~falsifian@exoco.falsifian.org) (*.net *.split) |
| 2021-04-22 17:48:43 | × | SIben quits (~SIben@ns3106586.ip-5-135-191.eu) (*.net *.split) |
| 2021-04-22 17:48:44 | × | Khisanth quits (~Khisanth@11.sub-174-244-147.myvzw.com) (*.net *.split) |
| 2021-04-22 17:48:44 | carbolymer_ | is now known as carbolymer |
| 2021-04-22 17:48:45 | jrm2 | is now known as jrm |
| 2021-04-22 17:48:45 | L1Cafe9 | is now known as L1Cafe |
| 2021-04-22 17:48:45 | haasn` | is now known as haasn |
| 2021-04-22 17:48:45 | dmj`_ | is now known as dmj` |
| 2021-04-22 17:48:45 | rann_ | is now known as rann |
| 2021-04-22 17:48:46 | MidAutumnHotaru7 | is now known as MidAutumnHotaru |
| 2021-04-22 17:48:49 | smerdyakov3 | is now known as smerdyakov |
| 2021-04-22 17:48:50 | → | xlei joins (znc@unaffiliated/xlei) |
| 2021-04-22 17:48:56 | → | conal joins (~conal@64.71.133.70) |
| 2021-04-22 17:48:57 | haya0 | is now known as haya |
| 2021-04-22 17:48:57 | <fresheyeball> | monochrom: how does it know where to install to? |
| 2021-04-22 17:49:05 | <fresheyeball> | https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/haskell-modules/generic-builder.nix#L467 |
| 2021-04-22 17:49:09 | <monochrom> | How about "Setup build"? Does it accept targets? |
| 2021-04-22 17:49:11 | <fresheyeball> | I am trying to make this work for a single exe |
| 2021-04-22 17:49:20 | <fresheyeball> | monochrom: yes it does |
| 2021-04-22 17:49:34 | <monochrom> | Then perhaps that's what you need. |
| 2021-04-22 17:49:38 | → | heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) |
| 2021-04-22 17:49:51 | <fresheyeball> | well I still need the exe copied over |
| 2021-04-22 17:50:19 | <monochrom> | "Setup install" won't build anything. |
| 2021-04-22 17:50:30 | × | Inexes quits (5534d86f@111.pool85-52-216.static.orange.es) (Quit: Connection closed) |
| 2021-04-22 17:50:36 | <fresheyeball> | monochrom: I know, but currenlty it's copying the right spot atleast |
| 2021-04-22 17:50:41 | × | gawen_ quits (~gawen@163.172.122.128) (Ping timeout: 240 seconds) |
| 2021-04-22 17:50:41 | <fresheyeball> | I just need to know how it knows |
| 2021-04-22 17:50:44 | <fresheyeball> | env var? |
| 2021-04-22 17:50:59 | <monochrom> | "Setup configure --prefix foo". |
| 2021-04-22 17:51:12 | → | gawen joins (~gawen@movzbl.root.sx) |
| 2021-04-22 17:51:17 | <monochrom> | If you don't have "--prefix=foo", there are defaults |
| 2021-04-22 17:52:17 | <fresheyeball> | monochrom: ok --prefix, got it |
| 2021-04-22 17:53:14 | <monochrom> | I still don't understand how "what is built, what is skipped" is related to "where to install to". |
| 2021-04-22 17:53:26 | × | ashesham` quits (~user@d8D87D1B0.access.telenet.be) (Ping timeout: 240 seconds) |
| 2021-04-22 17:53:47 | <fresheyeball> | monochrom: if I run ./Setup build myTarget |
| 2021-04-22 17:53:51 | <fresheyeball> | and then ./Setup install |
| 2021-04-22 17:54:03 | <fresheyeball> | it fails because the other targets are not built |
| 2021-04-22 17:54:13 | <Zemyla> | Is there a way to compile GHC to DJGPP so we can have DOS Haskell programs? |
| 2021-04-22 17:54:23 | × | wroathe_ quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Quit: leaving) |
| 2021-04-22 17:54:39 | <monochrom> | Ah OK. Does "Setup copy" exist? Maybe it is less strict about this. |
| 2021-04-22 17:54:39 | → | wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) |
| 2021-04-22 17:55:03 | → | stree joins (~stree@68.36.8.116) |
| 2021-04-22 17:55:04 | → | Khisanth joins (~Khisanth@11.sub-174-244-147.myvzw.com) |
| 2021-04-22 17:55:21 | → | davros joins (~davros@host86-185-126-190.range86-185.btcentralplus.com) |
| 2021-04-22 17:55:22 | <monochrom> | But Setup has a very different use case in mind. Basically for linux distro people, not developers. |
| 2021-04-22 17:55:36 | <monochrom> | neither developers nor users. |
| 2021-04-22 17:56:20 | → | apoc joins (~apoc@49.12.13.193) |
| 2021-04-22 17:57:13 | <fresheyeball> | it does exist, no idea what it does though |
| 2021-04-22 17:58:01 | <monochrom> | If you go configure->build->haddock->copy, basically you never need install. |
| 2021-04-22 17:58:18 | <geekosaur> | Zemyla, non-release builds of ghc can target ANSI C, then take it to the target platform and compile. but it'll be slow |
| 2021-04-22 17:58:23 | <monochrom> | Yes that was the workflow of a previous life. |
| 2021-04-22 17:58:33 | <fresheyeball> | monochrom: what does the copy command look like? |
| 2021-04-22 17:58:44 | <monochrom> | "./Setup copy" |
| 2021-04-22 17:58:59 | <fresheyeball> | I mean can I do "./Setup copy mytarget" ? |
| 2021-04-22 17:59:15 | <monochrom> | You know that "./Setup foo --help" is a thing, right? For foo in configure, build, etc etc |
| 2021-04-22 17:59:55 | <geekosaur> | "unregisterised builds" |
| 2021-04-22 18:00:28 | <geekosaur> | (ghc itself hasn't targeted C since 6.12 or thenabouts) |
| 2021-04-22 18:02:46 | <Zemyla> | What is the oldest version of GHC that can compile current GHC? |
| 2021-04-22 18:03:19 | <geekosaur> | 2 versions back |
| 2021-04-22 18:04:11 | → | alx741 joins (~alx741@186.178.109.231) |
All times are in UTC.