News for hackers. Stuff that matters.
Re:Functional Programming in Haskell by Examples by Ericson2314 on Monday April 27, 2015 @07:46PM (#9449812)
I highly recommend https://github.com/NixOS/nixops, which is good for deployment in general, but especially good for Haskell since the Haskell infrastructure was rewritten this year.
Re:Functional Programming in Haskell by Examples by codygman on Monday April 27, 2015 @10:17PM (#9450273)
I found myself using cabbage[0] so I could have exact version dependencies. Nix was awesome when mostly using latest versions of a package, but for much of my code I needed specific versions and cabbage allowed me to have them.

0: https://github.com/acowley/cabbage

Re:Functional Programming in Haskell by Examples by Ericson2314 on Sunday May 10, 2015 @04:51AM (#9519348)
For the sake of a single manager for my whole system I'll stick with nix. But yes, it would be nice if it knew more about versions. In a future where upstream projects can maintain their own nix packages, I think this will be unavoidable.
Re:Functional Programming in Haskell by Examples by benmos on Tuesday April 28, 2015 @03:35AM (#9450899)
Nix (and NixOS, NixOps etc) is totally, totally awesome (only downside is that it's not a statically typed language itself). Just be warned that it does have a non-trivial learning curve of its own though.
Re:Functional Programming in Haskell by Examples by Ericson2314 on Sunday May 10, 2015 @04:38AM (#9519325)
Yeah, It's really amazing that so much of it is not hard coded features but just idioms in nixpkgs. But that might make it harder to learn.

|nix keywords| << |docker keywords| << |nix idioms|

Re:Functional Programming in Haskell by Examples by embwbam on Monday April 27, 2015 @10:47PM (#9450350)
I've heard it mentioned several times, but I don't really understand how to use it to deploy haskell code. Do you know of a tutorial link somewhere?
Re:Functional Programming in Haskell by Examples by Ericson2314 on Sunday May 10, 2015 @04:49AM (#9519345)
So recently the haskell package infrastructure was overhauled. This is great! But, it means that many resources are out of date.

I really recommend you first read about nix with http://lethalman.blogspot.com/feeds/posts/default/-/nixpills . Once you've done that, the simple instructions at http://wiki.ocharles.org.uk/Nix should get you going.

You can try to skip to the wiki page, but in the likely case something doesn't go quite right, it will be hard to debug without a broader knowledge of Nix.

I'll admit Nix's has quite the learning curve, and I was more tempted to sneak around its uncompromising rigidity than when learning Haskell. But the bitter pill is worth it.