Handle CPP properly in Backpack
authorEdward Z. Yang <ezyang@fb.com>
Sat, 25 Nov 2017 02:12:05 +0000 (10:12 +0800)
committerEdward Z. Yang <ezyang@fb.com>
Fri, 1 Dec 2017 00:25:29 +0000 (19:25 -0500)
commite1fb28384c44fcd29b0e60b9fd44767be22646af
tree7c25a031d26a6e3a53294f16d135e91d589c37e0
parent6998772043a7f0b0360116eb5ffcbaa5630b21fb
Handle CPP properly in Backpack

Summary:
Previously, we attempted to lookup 'hole' packages for
include directories; this obviously is not going to work.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: validate

Reviewers: ekmett, bgamari

Subscribers: rwbarton, thomie

GHC Trac Issues: #14525

Differential Revision: https://phabricator.haskell.org/D4234
compiler/main/Packages.hs
testsuite/tests/backpack/cabal/bkpcabal01/p/P.hs.in1