NixOS/cabal2nix — pull request #59 by bennofs (2014-01-06 17:22:34+00:00)
Title: Support local-only projects

I wanted to use cabal2nix to generate .nix expressions for my cabal projects, but I'd like to be able to also use cabal2nix for things that aren't hackage so that I can use nix to build
my local projects. This patch adds a new flag "--local" which generates a .nix expression with the appropriate `src=./.` attribute and no sha hash.