Hints on fixing #2645: Properly merge preferences (dependency resolution)

2015-11-28 Thread Martin Vlk
Hi folks, I am a beginner cabal hacker and I have been picking issues to fix, labeled with "easy". My next one is https://github.com/haskell/cabal/issues/2645. I've been trying to read and feel my way through the code and find where this issue is rooted, but so far I haven't succeeded. To save m

Re: Hints on fixing #2645: Properly merge preferences (dependency resolution)

2015-11-28 Thread Martin Vlk
Oh, and a primer on the overall cabal design would be also very useful! M. Martin Vlk: > Hi folks, > I am a beginner cabal hacker and I have been picking issues to fix, > labeled with "easy". > > My next one is https://github.com/haskell/cabal/issues/2645. > > I've been trying to read and feel

issue with cabal behavior with a custom Setup.hs

2015-11-28 Thread Thomas Lippincott
Hello, I'm seeing what I think is some strange (or at least, non-intuitive) behavior in a custom package, and was wondering if someone could point me in the right direction. Basically, I need the build process to generate some additional exposed modules, i.e. add them to the "exposed-modules

Re: issue with cabal behavior with a custom Setup.hs

2015-11-28 Thread Adam Bergmark
I believe this does the same thing as what you want: https://github.com/hvr/base-noprelude/blob/pre-ghc710/Setup.hs HTH, Adam On Sat, Nov 28, 2015 at 4:23 PM, Thomas Lippincott wrote: > Hello, > > I'm seeing what I think is some strange (or at least, non-intuitive) > behavior in a custom packa

Re: Hints on fixing #2645: Properly merge preferences (dependency resolution)

2015-11-28 Thread Mikhail Glushenkov
Hi, On 28 November 2015 at 10:59, Martin Vlk wrote: > Oh, and a primer on the overall cabal design would be also very useful! Take a look at https://github.com/haskell/cabal/wiki/Source-Guide ___ cabal-devel mailing list cabal-devel@haskell.org http://