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
2021-02-03 22:38:33 +13:00
2020-01-21 17:10:48 +08:00
2020-03-06 17:19:45 +08:00
2020-03-05 12:22:57 +13:00
2020-07-21 10:00:26 +08:00
2019-04-29 11:08:31 +08:00
2021-02-03 22:38:33 +13:00
2020-12-04 20:13:56 +13:00
2021-02-07 01:12:13 +00:00
2021-01-11 18:47:56 +13:00
2021-02-07 01:12:13 +00:00

haskell.nix is infrastructure for building Haskell packages with Nix

haskell.nix can automatically translate your Cabal or Stack project and its dependencies into Nix code.

Documentation

Help! Something isn't working

The #1 problem that people have when using haskell.nix is that they find themselves building GHC. This should not happen, but you must follow the haskell.nix setup instructions properly to avoid it. If you find this happening to you, please check that you have followed the getting started instructions and consult the corresponding troubleshooting section.

The troubleshooting documentation also contains some help for other common issues. Please give it a read before asking on IRC or opening an issue.

If you're still stuck, join the #haskell.nix channel on irc.freenode.net, or open an issue.

The haskell.nix repository contains the runtime system for building Haskell packages in Nix. It depends on other repos, which are:

  • nix-tools — provides the programs for generating Nix expressions from Haskell projects.

  • hackage.nix — the latest contents of the Hackage databases, converted to Nix expressions.

  • stackage.nix — all of the Stackage snapshots, converted to Nix expressions.

S
Description
Alternative Haskell Infrastructure for Nixpkgs
Readme
20 MiB
0 Stars 1 Watchers 0 Forks
Languages
Nix 88.7%
Haskell 10.4%
Shell 0.8%