Logs: liberachat/#haskell
| 2021-08-26 02:09:05 | × | slack1256 quits (~slack1256@191.126.161.169) (Ping timeout: 250 seconds) |
| 2021-08-26 02:09:29 | × | _xor quits (~xor@74.215.232.67) (Quit: WeeChat 3.2) |
| 2021-08-26 02:17:30 | → | markpythonicbtc joins (~textual@2601:647:5a00:35:d556:b617:7067:a615) |
| 2021-08-26 02:18:37 | × | FinnElija quits (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 250 seconds) |
| 2021-08-26 02:20:45 | → | FinnElija joins (~finn_elij@user/finn-elija/x-0085643) |
| 2021-08-26 02:31:39 | → | lavaman joins (~lavaman@98.38.249.169) |
| 2021-08-26 02:32:12 | → | nate1 joins (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) |
| 2021-08-26 02:35:16 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 252 seconds) |
| 2021-08-26 02:35:57 | × | lavaman quits (~lavaman@98.38.249.169) (Ping timeout: 250 seconds) |
| 2021-08-26 02:36:47 | × | nate1 quits (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 240 seconds) |
| 2021-08-26 02:47:10 | × | machinedgod quits (~machinedg@135-23-192-217.cpe.pppoe.ca) (Ping timeout: 240 seconds) |
| 2021-08-26 02:48:18 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-08-26 02:48:58 | × | bitdex quits (~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 244 seconds) |
| 2021-08-26 02:52:16 | → | bitdex joins (~bitdex@gateway/tor-sasl/bitdex) |
| 2021-08-26 02:53:06 | × | alx741 quits (~alx741@186.178.109.43) (Quit: alx741) |
| 2021-08-26 02:54:43 | <jakefromstatefar> | <command line>: cannot satisfy -package-id json-0.10-...: json-0.10... is unusable due to missing dependencies: parsec-3.1.14.0 syb-0.7.2.1... text-1.2.4.1 |
| 2021-08-26 02:54:46 | <jakefromstatefar> | How do I fix this? |
| 2021-08-26 02:55:06 | <jakefromstatefar> | I tried to unregister `json` via ghc-pkg, but that didn't work! |
| 2021-08-26 02:55:21 | <jakefromstatefar> | json wasn't registered there! |
| 2021-08-26 02:57:15 | <jakefromstatefar> | I was interfacing with Text.JSON, so I tried --force unregistering `text`, then reinstalling it, ghc-pkg still shows the packages depending on it as red |
| 2021-08-26 02:57:19 | <jakefromstatefar> | what do I do? |
| 2021-08-26 02:57:41 | <jakefromstatefar> | I have both stack and cabal, with a nix-interface to stack. |
| 2021-08-26 03:00:37 | <dsal> | jakefromstatefar: Generally, you just define your requirements in your project and let the tool do the work (for whatever value of "the tool" there) |
| 2021-08-26 03:01:07 | × | shailangsa quits (~shailangs@host86-185-102-120.range86-185.btcentralplus.com) (Ping timeout: 240 seconds) |
| 2021-08-26 03:05:48 | → | cross joins (~cross@spitfire.i.gajendra.net) |
| 2021-08-26 03:15:33 | × | aegon quits (~mike@174.127.249.180) (Quit: leaving) |
| 2021-08-26 03:15:54 | → | nate1 joins (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) |
| 2021-08-26 03:16:00 | → | otto_s_ joins (~user@p5de2f1e2.dip0.t-ipconnect.de) |
| 2021-08-26 03:17:53 | <Axman6> | jakefromstatefar: is using the jason package your choice? Aeson as definitely the most common choice these days. I've never even heard of the json package until today |
| 2021-08-26 03:18:02 | → | jmcantrell joins (~jmcantrel@user/jmcantrell) |
| 2021-08-26 03:18:29 | <Axman6> | (That's not saying aeson is the best json library, there are others which have some nice features, but it is definitely the de facto standard json library these days |
| 2021-08-26 03:19:10 | × | otto_s quits (~user@p4ff272f9.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 2021-08-26 03:19:22 | <jmcantrell> | Hello, I'm trying to compile a project. The readme just says to run `cabal install` in the project directory. I get lots of errors about missing modules. Should it not download dependencies? |
| 2021-08-26 03:20:04 | <Axman6> | might need cabal configure first - and I would probably recommend using the new-configure and new-install instead |
| 2021-08-26 03:20:09 | × | nate1 quits (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) (Ping timeout: 250 seconds) |
| 2021-08-26 03:20:37 | <c_wraith> | That sounds like you have an old version of cabal installed |
| 2021-08-26 03:20:57 | <Axman6> | jmcantrell: if you can link us to the project we might be able to help more |
| 2021-08-26 03:21:01 | <jmcantrell> | cabal-install version 3.2.0.0 |
| 2021-08-26 03:21:14 | <jmcantrell> | https://github.com/koalaman/shellcheck |
| 2021-08-26 03:21:51 | <jmcantrell> | new-configure and new-install had the same result |
| 2021-08-26 03:22:05 | <Axman6> | personally I would justdo you know you need to build it from git? Personally I would just run cabal install ShellCheck outside of the project directory |
| 2021-08-26 03:22:19 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 250 seconds) |
| 2021-08-26 03:22:23 | <Axman6> | you might also need to run cabal update if you haven't downloaded package definitions before |
| 2021-08-26 03:22:30 | × | slac56696 quits (~slack1256@181.203.37.78) (Remote host closed the connection) |
| 2021-08-26 03:22:38 | <jmcantrell> | i need to test the latest commit |
| 2021-08-26 03:22:43 | <Axman6> | ah ok |
| 2021-08-26 03:23:04 | <Axman6> | can you paste all theoutput you get when you run cabal new-configure and cabal new-install? |
| 2021-08-26 03:23:05 | <jmcantrell> | cabal install after update gave the same result |
| 2021-08-26 03:23:11 | <jmcantrell> | sure |
| 2021-08-26 03:23:16 | <Axman6> | @where paste |
| 2021-08-26 03:23:16 | <lambdabot> | Help us help you: please paste full code, input and/or output at e.g. https://paste.tomsmeding.com |
| 2021-08-26 03:24:45 | <jmcantrell> | https://paste.rs/PIz |
| 2021-08-26 03:28:38 | <Axman6> | koala_man: ^ might be relevant to you if you're around |
| 2021-08-26 03:30:00 | <koala_man> | huh. Which distro is this? |
| 2021-08-26 03:30:26 | <jmcantrell> | arch |
| 2021-08-26 03:30:36 | <Axman6> | a cabal new-configure and cabal new-build seems to be working fine for me, on macOS with ghc 8.10.6 |
| 2021-08-26 03:30:48 | <koala_man> | jmcantrell: could you move/remove ~/.ghc and ~/.cabal and try again? |
| 2021-08-26 03:32:01 | <jmcantrell> | there was no ~/.ghc, but ig get the same result after removing ~/.cabal |
| 2021-08-26 03:32:21 | → | shailangsa_ joins (~shailangs@host86-185-102-120.range86-185.btcentralplus.com) |
| 2021-08-26 03:32:58 | <Axman6> | and if you run cabal update? |
| 2021-08-26 03:33:59 | <jmcantrell> | ah, i forgot that. one sec |
| 2021-08-26 03:34:29 | <jmcantrell> | same result |
| 2021-08-26 03:34:50 | <Axman6> | how did you install ghc? |
| 2021-08-26 03:36:18 | <jmcantrell> | i think it was installed as a dependency of another package, but through pacman |
| 2021-08-26 03:37:02 | → | nate1 joins (~nate@108-233-125-227.lightspeed.sntcca.sbcglobal.net) |
| 2021-08-26 03:37:24 | <sm> | chiming in late here, but "There are files missing in the ... package" generally means your package db is broken somehow. Maybe disk filled up at some point, or you cleaned up over zealously ? |
| 2021-08-26 03:37:25 | <koala_man> | huh, I also get errors trying to build it in archlinux docker |
| 2021-08-26 03:37:27 | <Axman6> | Why is Arch always so problematic when it comes to Haskell stuff -_- they broke everything a few years ago and I have no idea what the right way to do things anymore is |
| 2021-08-26 03:37:52 | <c_wraith> | the right way to do haskell on arch is use ghcup and ignore their packages |
| 2021-08-26 03:38:18 | <jmcantrell> | i definitely haven't touched anything related to haskell previous to this |
| 2021-08-26 03:39:07 | <Axman6> | yeah ghcup is generally just good advice these days. it's made my life so much easier |
| 2021-08-26 03:40:01 | <jmcantrell> | installing now... |
| 2021-08-26 03:42:15 | → | lazlo joins (~ioaquine@179.6.215.254) |
| 2021-08-26 03:42:24 | <lazlo> | test |
| 2021-08-26 03:42:30 | <koala_man> | test confirmed |
| 2021-08-26 03:42:36 | <Axman6> | Fail |
| 2021-08-26 03:42:52 | <lazlo> | it's my first time using irc don't mind me being stupid |
| 2021-08-26 03:43:12 | <Axman6> | Well welcome - Can we help you with any Haskell related issues? |
| 2021-08-26 03:43:35 | × | farmfrmjakestate quits (~farmfromj@user/farmfrmjakestate) (Quit: Textual IRC Client: www.textualapp.com) |
| 2021-08-26 03:45:25 | <lazlo> | I'd like to know where relevant Haskell news may be gotten from, I recently read about https://haskell.love/schedule.html and it got me pumped to try and learn it again |
| 2021-08-26 03:45:26 | <monochrom> | Axman6: archlinux discarded static libraries and neglected to reconfigure GHC to default to dynamic linking. |
| 2021-08-26 03:45:30 | <monochrom> | https://wiki.archlinux.org/title/Haskell#Problems_with_linking |
| 2021-08-26 03:46:10 | <Axman6> | lazlo: the haskell subreddit is usually a good place to start |
| 2021-08-26 03:46:46 | <monochrom> | Ah, also koala_man too. |
| 2021-08-26 03:49:07 | <jmcantrell> | ok, it's building after installing ghcup |
| 2021-08-26 03:49:25 | <Axman6> | sounds like a broken GHC install in that case - good to hear |
| 2021-08-26 03:51:04 | <jmcantrell> | broken due to the arch problem that monochrom mentioned? |
| 2021-08-26 03:51:18 | <monochrom> | If you're on arch then yeah. |
| 2021-08-26 03:52:03 | × | Jack quits (~Jack@node-1w7jra24ayur83r37n177ovv8.ipv6.telus.net) (Ping timeout: 258 seconds) |
| 2021-08-26 03:52:04 | <monochrom> | I have a few students once in a while who behave like the arch people. |
| 2021-08-26 03:52:16 | <monochrom> | They had code that worked perfectly. |
| 2021-08-26 03:52:36 | <monochrom> | They decided to do a last-minute finishing touch of changing indentation. |
| 2021-08-26 03:52:36 | <koala_man> | monochrom: with that cabal config I get "newParallelJobControl: not a sensible number of jobs: 0" |
| 2021-08-26 03:52:48 | <monochrom> | They decided not to do a last-minute test. |
| 2021-08-26 03:53:20 | <Axman6> | classic |
| 2021-08-26 03:54:44 | → | falafel joins (~falafel@2601:280:4e00:9970:889a:3513:448f:30e9) |
| 2021-08-26 03:54:49 | <Axman6> | Reminds me of the story of the C group project where they were a) not using version control, and b) one of the members decided they didn't need all the *'s in the project to removed them the night before it was due... not where I heard that story, but it wounded like anightmare |
| 2021-08-26 03:56:55 | → | dyeplexer joins (~dyeplexer@user/dyeplexer) |
| 2021-08-26 03:57:45 | → | falafel_ joins (~falafel@2601:280:4e00:9970:889a:3513:448f:30e9) |
| 2021-08-26 03:59:25 | × | _ak_ quits (~akspecs@user/akspecs) (Ping timeout: 252 seconds) |
All times are in UTC.