add error context to all top level attr names of all-packages.nix
svn path=/nixpkgs/trunk/; revision=14429
This commit is contained in:
parent
b56ed35851
commit
49b115132d
@ -1,3 +1,5 @@
|
||||
let lib = import ./default.nix; in
|
||||
|
||||
rec {
|
||||
|
||||
|
||||
@ -10,6 +12,7 @@ rec {
|
||||
then builtins.addErrorContext
|
||||
else msg: val: val;
|
||||
|
||||
addErrorContextToAttrs = lib.mapAttrs (a : v : lib.addErrorContext "while evaluating ${a}" v);
|
||||
|
||||
|
||||
}
|
@ -9584,4 +9584,4 @@ let
|
||||
};
|
||||
|
||||
libTests = import ../lib/tests.nix;
|
||||
}; in pkgs
|
||||
}; in lib.addErrorContextToAttrs pkgs
|
||||
|
Loading…
Reference in New Issue
Block a user