haskell.nix/mk-local-hackage-repo
Silvan Mosberger feea345b32
Throw better error when conf files are missing (#1030)
* Throw better error when conf files are missing

Previously, if some directories were missing .conf files, an error like
this would be thrown:

  cp: missing destination file operand after '/nix/store/pnmrz06g0sa4s3yx53hgmr9k8jrh6ww0-ouroboros-network-framework-lib-ouroboros-network-framework-0.1.0.0-haddock-config/lib/ghc-8.6.5/package.conf.d'

While normally this shouldn't occur, I've seen it happen in CI anyways,
with the problem disappearing if the store path that's missing the files
was rebuilt a couple times.

With this commit, it becomes much easier to figure out which store path
is missing the files, which would be very hard to figure out from the
previous message.
2021-02-08 03:13:31 +13:00
..
default.nix Throw better error when conf files are missing (#1030) 2021-02-08 03:13:31 +13:00
mirrors.json Call cabal project to nix (now with hackage-truncate) (#135) 2019-05-21 20:05:03 +08:00
root.json Call cabal project to nix (now with hackage-truncate) (#135) 2019-05-21 20:05:03 +08:00
snapshot.json Call cabal project to nix (now with hackage-truncate) (#135) 2019-05-21 20:05:03 +08:00
timestamp.json Call cabal project to nix (now with hackage-truncate) (#135) 2019-05-21 20:05:03 +08:00