r/purescript • u/seagreen_ • Jan 22 '17
Is anyone using PureScript on NixOS?
The last time I tried PS I used a Ubuntu VM, but I'd much prefer to work on my native OS. Is anyone else using PureScript on NixOS? I'd appreciate any tips, and would be happy to share how it goes if anyone wants to learn from my attempt.
7
Upvotes
View all comments
Show parent comment
2
u/seagreen_ Jan 26 '17
Thanks for all the responses.
I actually ended up going with psc-package, which I'm really excited about.
psc-packagecomes along with the latest purescript on NixOS (haskellPackages.purescript_0_10_5). To get it to build you need this commit in Nixpkgs, it hadn't made its way into master as of a couple days ago but maybe it has now.So far psc-package has worked like a charm. One slight downside-- there's not a way to add packages locally yet, you have to fork the package set, add the package to your fork, and then switch to that fork to build, but that's just a convenience issue.