{"push_id":2702824368,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"a31ab06a7dcdb3efe98958c2b7e350382ca84316","before":"beb992e2f0a0bee0ce893ee8856ad46385bf5e81","commits":[{"sha":"a31ab06a7dcdb3efe98958c2b7e350382ca84316","author":{"name":"quasicomputational","email":"5d2842e08c5afac0e2a516a6361631165202eb38@gmail.com"},"message":"Make Setup.hs configure more CWD-independent.\n\nPreviously, we were checking the package with a hard-coded root\ndirectory of \".\". This was not a problem before, but with #5372 we\nhave started to expand globs while checking packages, which breaks if\nthe CWD is not the directory containing the `.cabal` file and causes\nsnowleopard/hadrian#634.\n\nLuckily, this is an easy fix: the correct directory is easy to\ndetermine. Writing a test and making sure it's tickling the failing\ncase took longer than writing the fix!\n\n\".\" is hard-coded as the root directory passed to `checkPackageFiles`\nin a few other places, but those are (a) non-trivial to test, and (b)\nalready in places that have other assumptions about their CWD, so I\nhave simply documented the CWD requirement for those.","distinct":true,"url":"https://api.github.com/repos/haskell/cabal/commits/a31ab06a7dcdb3efe98958c2b7e350382ca84316"}]}
{"actor":{"display_login":"quasicomputational"}}