@@ -0,0 +1,41 @@
3+ options.errorHandler = lib.mkOption {
4+ type = lib.types.unspecified;
7+ config.errorHandler = {
10+ The Haskell package set does not contain the package: ${pkg} (build dependency).
11+ If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
15+ The Nixpkgs package set does not contain the package: ${pkg} (system dependency).
16+ You may need to augment the system package mapping in haskell.nix so that it can be found.
18+ pkgConfDepError = pkg:
20+ The pkg-conf packages does not contain the package: ${pkg} (pkg-conf dependency).
21+ You may need to augment the pkg-conf package mapping in haskell.nix so that it can be found.
25+ The local executable components do not include the component: ${pkg} (executable dependency).
27+ legacyExeDepError = pkg:
29+ The Haskell package set does not contain the package: ${pkg} (executable dependency).
30+ If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.
32+ buildToolDepError = pkg:
34+ Neither the Haskell package set or the Nixpkgs package set contain the package: ${pkg} (build tool dependency).
35+ If this is a system dependency:
36+ You may need to augment the system package mapping in haskell.nix so that it can be found.
37+ If this is a Haskell dependency:
38+ If you are using Stackage, make sure that you are using a snapshot that contains the package. Otherwise you may need to update the Hackage snapshot you are using, usually by updating haskell.nix.