AAAAAASomeThingsFailToEvaluate: provide a message which is actually helpful
This commit is contained in:
@@ -104,10 +104,10 @@ with pkgs;
|
||||
|
||||
### Evaluating the entire Nixpkgs naively will fail, make failure fast
|
||||
AAAAAASomeThingsFailToEvaluate = throw ''
|
||||
Please be informed that this pseudo-package is not the only part of
|
||||
Nixpkgs that fails to evaluate. You should not evaluate entire Nixpkgs
|
||||
without some special measures to handle failing packages, like those taken
|
||||
by Hydra.
|
||||
Please be informed that this pseudo-package is not the only part
|
||||
of Nixpkgs that fails to evaluate. You should not evaluate
|
||||
entire Nixpkgs without some special measures to handle failing
|
||||
packages, like using pkgs/top-level/release-attrpaths.nix.
|
||||
'';
|
||||
|
||||
tests = callPackages ../test { };
|
||||
|
||||
Reference in New Issue
Block a user