From 96f1b7d6a78121df6974a80a64548528d88cb336 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 19 Jan 2009 18:26:21 +0000 Subject: [PATCH] no really, need to omit the vty dependency on windows --- hledger.cabal | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hledger.cabal b/hledger.cabal index 88113f87e..ebbc7bcf5 100644 --- a/hledger.cabal +++ b/hledger.cabal @@ -20,6 +20,11 @@ Cabal-Version: >= 1.2 Executable hledger Main-Is: hledger.hs + + if !os(windows) + Build-Depends:vty>=3.1.8.2 + Other-Modules:UICommand + Build-Depends: base, containers, @@ -32,8 +37,7 @@ Executable hledger time, HUnit, mtl, - bytestring, - vty>=3.1.8.2 + bytestring Other-Modules: BalanceCommand Options @@ -41,7 +45,6 @@ Executable hledger RegisterCommand Setup Tests - UICommand Utils Ledger Ledger.Account