opened
jystic
username_0
When a dependency fails to install, we now automatically dump the package specific dependency tree, seeing as that's what you were going to do next anyway:

```
~/src/ambiata/ambiata-cli $ mafia build
-- snip --
Configuring psqueues-0.2.1.0...
Building psqueues-0.2.1.0...
Preprocessing library psqueues-0.2.1.0...
[1 of 7] Compiling Data.BitUtil     ( src/Data/BitUtil.hs, dist/dist-sandbox-18bdbe61/build/Data/BitUtil.o )
[2 of 7] Compiling Data.OrdPSQ.Internal ( src/Data/OrdPSQ/Internal.hs, dist/dist-sandbox-18bdbe61/build/Data/OrdPSQ/Internal.o )

src/Data/OrdPSQ/Internal.hs:82:40:
    Not in scope: type constructor or class ‘Traversable’

src/Data/OrdPSQ/Internal.hs:94:40:
    Not in scope: type constructor or class ‘Traversable’

src/Data/OrdPSQ/Internal.hs:122:40:
    Not in scope: type constructor or class ‘Traversable’
[4 of 7] Compiling Data.IntPSQ.Internal ( src/Data/IntPSQ/Internal.hs, dist/dist-sandbox-18bdbe61/build/Data/IntPSQ/Internal.o )

src/Data/IntPSQ/Internal.hs:108:40:
    Not in scope: type constructor or class ‘Traversable’
cabal: Error: some packages failed to install:
psqueues-0.2.1.0 failed during the building phase. The exception was:
ExitFailure 1
Waiting for bifunctors-4.2.1-97994dd3c3fefe74de4d1699e498657043f1ec93
Installed bifunctors-4.2.1
Installed profunctors-4.4.1
Waiting for profunctors-4.4.1-61498b834d5cb7913c902e31b0ed416c29e1fafa
Failed to install psqueues-0.2.1.0
Process failed: cabal install --ghc-options=-j4 --max-backjumps=0 psqueues-0.2.1.0 --constraint hashable == 1.2.4.0 --constraint psqueues == 0.2.1.0 --constraint text == 1.2.1.3 --constraint text -integer-simple (exit code: 1)
scotty-0.11.0
 └─╼ warp-3.2.2
      └─╼ http2-1.4.4
           └─╼ psqueues-0.2.1.0
```

/cc @nhibberd
Dump package specific tree when it fails to install
issue
created
tranma
username_1
I need this so much
:+1:
comment