pkgs/development/libraries/haskell/cabal2nix: added missing regexPosix dependency

Also, it's not necessary to propagate our build inputs; we build just executables.

svn path=/nixpkgs/trunk/; revision=28417
This commit is contained in:
Peter Simons 2011-08-09 09:47:46 +00:00
parent 20d78ba0a9
commit c4b18a282f

@ -1,4 +1,4 @@
{fetchgit,cabal,HTTP}:
{ fetchgit, cabal, HTTP, regexPosix }:
cabal.mkDerivation (self : {
pname = "cabal2nix";
@ -9,7 +9,8 @@ cabal.mkDerivation (self : {
rev = "aeba53e8da1250603b227ad2c705eee446cd3337";
};
propagatedBuildInputs = [HTTP];
extraBuildInputs = [HTTP regexPosix];
meta = {
homepage = "http://github.com/peti/cabal2nix";
description = "Convert Cabal files into Nix build instructions";