<div>I tend to install haskell packages from apt whenever possible.  One such package is &quot;unix&quot;, which appears to come provided by the ghc6 debian package.  I&#39;m trying to cabal install lambdabot and getting the following:</div>
<div><br></div><div>$ cabal install lambdabot</div><div>Resolving dependencies...</div><div>Configuring lambdabot-4.2.2.1...</div><div>Preprocessing executables for lambdabot-4.2.2.1...</div><div>Building lambdabot-4.2.2.1...</div>
<div><br></div><div>Main.hs:11:7:</div><div>    Could not find module `System.Posix.Signals&#39;:</div><div>      It is a member of the hidden package `unix-2.4.0.0&#39;.</div><div>      Perhaps you need to add `unix&#39; to the build-depends in your .cabal file.</div>
<div>      Use -v to see a list of the files searched for.</div><div>cabal: Error: some packages failed to install:</div><div>lambdabot-4.2.2.1 failed during the building phase. The exception was:</div><div>ExitFailure 1</div>
<div><br></div><div>I have a feeling this has something to do with the interaction between cabal and apt...</div><div><br></div><div>Does anyone have any advice for fixing this issue other than just adding &quot;unix&quot; to the lambdabot.cabal file?</div>
<div><br clear="all"><br>-- <br>          Alex R<br>
</div>