NixOS/nixpkgs — pull request #3585 by shlevy (2014-08-14 02:39:18+00:00)
Title: cabal.mkDerivation: Use defaultMain if no Setup.{l,}hs exists.

This mirrors the default behaviour of cabal-install for the Simple build type