bfpg / talks

Brisbane Function Programming Group talk ideas, scheduling & archival
https://talks.bfpg.org
Creative Commons Zero v1.0 Universal
4 stars 5 forks source link

Added scripts for building with Nix (or Cabal sandboxes) #22

Closed steshaw closed 9 years ago

steshaw commented 9 years ago

When building with cabal sandbox this takes 40 minutes (the first time) and it takes more than 0.5 a gig of disk space.

I've had some success using Nix on Mac [[https://nixos.org/wiki/Nix_on_OS_X#Using_the_Development_Branch][by following this guide]]. Note that I'm on "OS X Yosemite" Version 10.10.3. Don't forget that you need to install cabal2nix in your user environment (this does take a while, no binary substitution was found):

$ nix-env --install cabal2nix

With Nix, running bin/build-with-nix is super quick. All packages will be shared with other Hakyll based projects that you may be using. So hopefully you'll like it.