Properly acquire locks on not yet existing package databases
authorAndrzej Rybczak <electricityispower@gmail.com>
Thu, 2 Mar 2017 16:26:09 +0000 (11:26 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 2 Mar 2017 17:25:06 +0000 (12:25 -0500)
commit5f7b45a51f3736ad5a5046ba2fe4155446a2c467
tree62136502a10415788ff853af3c95e048e561413f
parent55f6353f7adc4d947aac8dfea227fdc4f54ac6d7
Properly acquire locks on not yet existing package databases

Reviewers: austin, bgamari, angerman

Reviewed By: bgamari, angerman

Subscribers: angerman, thomie

Differential Revision: https://phabricator.haskell.org/D3259
compiler/main/Packages.hs
utils/ghc-pkg/Main.hs