4 ms·
This looks pretty cool - I hope it works. I couldn't download the ubuntu package, as download.fpcomplete.com is unreachable here. I downloaded the linux-gener
by deckiedan 11y ago
This looks pretty cool - I hope it works. I couldn't download the ubuntu package, as download.fpcomplete.com is unreachable here. I downloaded the linux-generic package, but it seems to be a bit older, and so doesn't cope w/o a stack.yaml file.
OK - now with a stack.yaml file it's busy getting me a ghci...
cabal hell was one of the first things that really put me off haskell. I was downloading and trying to get xmonad working, but within half an hour, had a completely unusable ghc / xmonad combination. I think I was on debian, and the version of ghc that was installed wasn't compatible with the correct versions of various libs that xmonad wanted to have installed... Very frustrating.
Well, looks like installing stack does at least allow me to get a ghci up and running. That's cool. The easier getting haskell up and running becomes, the better. It's a wacky and esoteric language enough without it being hard to get going...
Interesting how programming languages "need" their own package manager these days. A bit of a pain that there's no universal one for all languages, but I guess that would be just too convenient...
- davexunit 11y ago>A bit of a pain that there's no universal one for all languages, but I guess that would be just too convenient... Nix and GNU Guix are capable of filling this role. Not only can they do the things that the typical system package managers (dpkg, yum) lack, but they also do many things that language-specific package managers lack. Transactional upgrades, rollbacks, unprivileged package installation, gracefully handling multiple versions of the same software, system-wide deduplication, full system configuration (if you want to use their associated distro), etc. I have read several Nix + Haskell success stories on various blogs, so I would say it's worth checking out. Nix and Guix are the future of package management.
- chriswarbo 11y agoNix is pretty great. Something to be aware of for Haskell: Nix's Haskell infrastructure has gone through a big breaking change recently. It's settled down now, and the new system (AKA "haskell NG") is much nicer, but all of the "stable" releases are using the old system, and a lot of blog posts, etc. online are now out of date.
- cr__ 11y agoDo you have any links on how the new system is supposed to work? I'm trying to piece it together and I'm not having much luck.
- rev 11y agoNix wiki lists some: https://nixos.org/wiki/Haskell#Other_resources https://nixos.org/wiki/Haskell#Other_resources.
- loevborg 11y agoAs I understand it, the corresponding section of the nixpkgs manual is being written as we speak; when this is done, it should reflect the new haskell infrastructure which was merged a few months ago (no longer called haskell-ng any more btw). In the meantime, here are a few links to get you started: https://twitter.com/garbas/status/601717689225187328 https://twitter.com/garbas/status/601717689225187328 -- a recent presentation w/ accompanying slides introducing Nix's new haskell infrastructure by github.com/peti, the maintainer https://nixos.org/wiki/Haskell https://nixos.org/wiki/Haskell http://wiki.ocharles.org.uk/Nix http://wiki.ocharles.org.uk/Nix http://stackoverflow.com/questions/29033580/how-do-i-use-the-new-haskell-ng-infrastructure-on-nixos http://stackoverflow.com/questions/29033580/how-do-i-use-the...
- cr__ 11y agoThe ocharles link is exactly what I'm looking for. Thanks so much.
- borsboom 11y ago> I couldn't download the ubuntu package, as download.fpcomplete.com is unreachable here. download.fpcomplete.com is served directly from an S3 bucket. You can try replacing download.fpcomplete.com with s3.amazonaws.com/download.fpcomplete.com (e.g. http://s3.amazonaws.com/download.fpcomplete.com/ubuntu/fpco.key http://s3.amazonaws.com/download.fpcomplete.com/ubuntu/fpco....), and see if that helps. Either way, I'd be interested to know who your ISP and/or if you're behind a corporate or national firewall.
- deckiedan 11y agoNo corp. firewall here - at home, in Carlisle, UK. ISP is talktalk.