Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-03-01 23:42:31 <Axman6> try running stack upgrade
2021-03-01 23:42:32 × conal quits (~conal@192.145.118.157) (Remote host closed the connection)
2021-03-01 23:43:09 conal joins (~conal@192.145.118.163)
2021-03-01 23:43:23 × mputz quits (~Thunderbi@dslb-088-064-063-125.088.064.pools.vodafone-ip.de) (Ping timeout: 245 seconds)
2021-03-01 23:44:04 × __monty__ quits (~toonn@unaffiliated/toonn) (Quit: leaving)
2021-03-01 23:44:56 × royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 240 seconds)
2021-03-01 23:44:57 × elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 264 seconds)
2021-03-01 23:46:44 <perrier-jouet> Axman6: now I have stack version 2.5.1 and still can't install pandoc
2021-03-01 23:46:55 <ggVGc> python476: if you hadn't learnt java, or C++ (or python), then how could you appreciate all the things that are not those, and avoid walking into all the same traps yourself later when you decide (as we all do) to make your own programming environment?
2021-03-01 23:47:29 tweek joins (~tweek@2603-6010-b207-6d3b-058f-45fa-65e0-88fa.res6.spectrum.com)
2021-03-01 23:47:30 <perrier-jouet> Axman6: error http://ix.io/2Rml
2021-03-01 23:48:33 <supastupid> sorry
2021-03-01 23:48:48 cgadski joins (~cgadski@a95-95-106-208.cpe.netcabo.pt)
2021-03-01 23:49:19 <supastupid> i had to leave for a bit, can i ask about XMonad here?
2021-03-01 23:50:20 <ggVGc> you're probably better off asking in their channel. But since a lot about using xmonad is writing haskell, if the questions are about that, then you'll probably get good answers here
2021-03-01 23:50:49 <ggVGc> personally I tried using xmonad for years while not learning haskell first, which was a bad time
2021-03-01 23:50:57 × mananamenos quits (~mananamen@193.red-88-11-66.dynamicip.rima-tde.net) (Ping timeout: 264 seconds)
2021-03-01 23:51:12 <Axman6> perrier-jouet: I have a feeling that " stack setup --system-ghc --resolver ghc-8.10.4" doesn't necessarilly do what you think it does. I think you may need to do stack --system-ghc install pandoc. That error looks very much like it can't find c0ompatible libraries though, can you try running stack update? (I thionk you may have already but just being sure that stack knows about all the versions)
2021-03-01 23:52:11 <perrier-jouet> Axman6: ok I will restart stack setup without the --systemghc
2021-03-01 23:52:25 <Axman6> perrier-jouet: on my machine, if I run `stack install pandoc` in my home directory (so there's no stack.yaml visible to it) it works fine.
2021-03-01 23:52:35 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 240 seconds)
2021-03-01 23:52:37 <supastupid> i have this variable with a xmobar process in it and a settings block references it and it says it's out of scope, how do i make this variable-process global?
2021-03-01 23:52:43 × chisui quits (577bc9b7@i577BC9B7.versanet.de) (Quit: Connection closed)
2021-03-01 23:52:46 <Axman6> perrier-jouet: If you just need the pandoc executable then I don't think you need to run stack setup at all
2021-03-01 23:52:47 chisui89 joins (577bc9b7@i577BC9B7.versanet.de)
2021-03-01 23:53:35 <Axman6> stack setup is for writing new Haskell projects, it's not needed if you want to install tools using stack. what is your end goal from installing pandoc?
2021-03-01 23:55:22 <Axman6> supastupid: can you share the code? those words don't mean much to me
2021-03-01 23:55:31 fissureman joins (~quassel@c-73-201-159-163.hsd1.dc.comcast.net)
2021-03-01 23:55:44 <sm[m]> perrier-jouet: I seem to remember that pandoc is not well packaged in stackage right now. If you want to build it, it's best to clone pandoc source and run stack install inside that directory
2021-03-01 23:55:47 deviantfero joins (~deviantfe@190.150.27.58)
2021-03-01 23:56:06 <Axman6> WFM :\
2021-03-01 23:56:39 × klf quits (~klf@67.216.62.0) (Ping timeout: 260 seconds)
2021-03-01 23:57:00 <sm[m]> but seriously consider finding a binary install method instead, it is a very heavy build
2021-03-01 23:57:05 klf joins (~klf@67.216.62.0)
2021-03-01 23:58:00 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-03-01 23:58:06 <perrier-jouet> wow
2021-03-01 23:58:13 <perrier-jouet> nothing works
2021-03-01 23:58:21 <perrier-jouet> I restart from scratch
2021-03-01 23:58:24 <sm[m]> Axman6: interesting, what global stackage resolver did you have configured when it worked for you ? An old one ?
2021-03-01 23:58:40 <perrier-jouet> stack setup, stack install happstack same error
2021-03-01 23:58:58 <sm[m]> perrier-jouet: don't run stack setup, it's not needed
2021-03-01 23:58:59 geowiesnot_bis joins (~user@i15-les02-ix2-87-89-181-157.sfr.lns.abo.bbox.fr)
2021-03-01 23:59:05 <Axman6> hwo do I check that agin?
2021-03-01 23:59:09 <monochrom> I just "apt install pandoc" from ubuntu. I reasoned that pandoc is pretty mature, so a yesteryear version doesn't really miss out much.
2021-03-01 23:59:26 <supastupid> Axman6: https://dpaste.com/6PFZZKXHU
2021-03-01 23:59:31 <supastupid> xmproc is the variable
2021-03-01 23:59:32 <sm[m]> Axman6: ~/.stack/global-project/stack.yaml
2021-03-01 23:59:43 <Axman6> yeah stack setup is not related to what you're trying to do
2021-03-02 00:00:00 royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9)
2021-03-02 00:00:09 <Axman6> sm[m]: lts-16.2 apparently
2021-03-02 00:00:35 × cgadski quits (~cgadski@a95-95-106-208.cpe.netcabo.pt) (Remote host closed the connection)
2021-03-02 00:01:28 <sm[m]> right. So stack install pandoc -/resolver lts-16.2 should work, for getting an old pandoc installed
2021-03-02 00:01:36 <sm[m]> but it takes forever
2021-03-02 00:01:53 <perrier-jouet> Axman6: is 17.4 ok ?
2021-03-02 00:01:54 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-03-02 00:01:58 <perrier-jouet> lts 17.4 ?
2021-03-02 00:02:03 <sm[m]> No
2021-03-02 00:02:08 <ezzieyguywuf> https://hackage.haskell.org/package/haskell-language-server why isn't v1.0.0.0 up yet?
2021-03-02 00:02:22 <sm[m]> unless you stack install from inside the pandoc source, perrier-jouet
2021-03-02 00:02:23 × chisui89 quits (577bc9b7@i577BC9B7.versanet.de) (Ping timeout: 240 seconds)
2021-03-02 00:02:43 × jpds_ quits (~jpds@gateway/tor-sasl/jpds) (Ping timeout: 268 seconds)
2021-03-02 00:02:46 <Axman6> supastupid: lots of weird stuff going on in that file - defaults = def { ...} should either have a let statement, or not be indented (which I think is what you want). Also there's lots of tabs in that file which will break things.
2021-03-02 00:02:50 × usr25 quits (~usr25@unaffiliated/usr25) (Quit: Leaving)
2021-03-02 00:03:03 <perrier-jouet> sm[m]: I am on archlinux, and I want uptodate packages, I removed all haskell packages, I only installed ghc like, pacman -S ghc, and installed stack like yay -S stack
2021-03-02 00:03:29 <monochrom> I am actually surprised that it got as far as "not in scope". I would expect "parse error, I'm outta here"
2021-03-02 00:03:32 <sm[m]> I'm not even going to touch arch Haskell, sorry :)
2021-03-02 00:03:38 <perrier-jouet> now stack setup and after stack install anypackage does not work
2021-03-02 00:03:46 <supastupid> Axman6: what? it isn't indented and what is let, where do i put
2021-03-02 00:03:48 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 245 seconds)
2021-03-02 00:03:56 <sm[m]> I've told you how to stack install pandoc , and that you probably shouldn't :)
2021-03-02 00:04:19 <perrier-jouet> I know, I can't blame you there seem to be 2 camp, and average joe is sandwiched in between
2021-03-02 00:04:23 <perrier-jouet> :( :(
2021-03-02 00:04:36 <monochrom> Wait, archlinux's package command is "yay"?!
2021-03-02 00:04:46 jpds_ joins (~jpds@gateway/tor-sasl/jpds)
2021-03-02 00:04:47 <perrier-jouet> for stack
2021-03-02 00:04:58 <perrier-jouet> but primary is pacman
2021-03-02 00:05:03 <hpc> is that any weirder than yum? :P
2021-03-02 00:05:03 × deviantfero quits (~deviantfe@190.150.27.58) (Ping timeout: 245 seconds)
2021-03-02 00:05:11 × rj quits (~x@gateway/tor-sasl/rj) (Ping timeout: 268 seconds)
2021-03-02 00:05:14 <monochrom> yum and yay and should there will be dab too.
2021-03-02 00:05:23 <Clint> surely arch has pandoc too
2021-03-02 00:05:27 <ggVGc> as an arch user since 10 years I can assure you I do not know what "yay" is
2021-03-02 00:05:30 <ezzieyguywuf> lol just come over to gentoo we won't bite
2021-03-02 00:05:41 <ggVGc> and that installing stack through pacman is usually a crap idea anyway
2021-03-02 00:05:44 dibblego joins (~dibblego@haskell/developer/dibblego)
2021-03-02 00:06:03 <Axman6> supastupid: here is a diff of what changes I think you need to make: https://dpaste.com/6PFZZKXHU/diff/CPFEGPJEE
2021-03-02 00:06:27 <ggVGc> And yes, there's pandoc in arch, but then you get all the haskell libraries globally, which might be fine
2021-03-02 00:06:48 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-03-02 00:06:54 <perrier-jouet> I am sorry I installed stack like curl -sSL https://get.haskellstack.org/ | sh
2021-03-02 00:07:05 <ggVGc> personally I vote installing stack manually, not through pacman, and letting it manage itself. And installing for example pandoc using stack
2021-03-02 00:07:09 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
2021-03-02 00:07:17 <perrier-jouet> my stack version after stack upgrade is 2.5.1
2021-03-02 00:07:22 <ggVGc> yeah that's what I do too perrier-jouet
2021-03-02 00:07:29 <monochrom> Hey if someone forks debian and call it dabian, that would be cool. >:)
2021-03-02 00:07:47 <maerwald> they called it ubuntu
2021-03-02 00:07:48 <Axman6> supastupid: and https://dpaste.com/CPFEGPJEE is what I think should work
2021-03-02 00:08:02 <Axman6> maerwald: :lit:
2021-03-02 00:08:28 <maerwald> if you fork crap, it's still gonna be crap though
2021-03-02 00:08:30 <perrier-jouet> ggVGc: but afterward installing packages does not work complain about config.yaml like add this to config.yaml
2021-03-02 00:08:45 <monochrom> I'm just going for puns and memes.

All times are in UTC.