mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 19:30:11 +00:00
pkgs/top-level/config.nix: add options.handleEvalIssue
This commit is contained in:
@@ -250,6 +250,14 @@ let
|
||||
};
|
||||
|
||||
checkMetaRecursively = mkEnableOption "checking that the `meta` attribute of derivations and their references are correct during evalution";
|
||||
|
||||
handleEvalIssue = mkOption {
|
||||
type = types.functionTo (types.functionTo types.bool);
|
||||
internal = true;
|
||||
description = ''
|
||||
Function to handle evaluation errors and possibly output a more informative message.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user