Commit 205299ea authored by Robert Hensing's avatar Robert Hensing
Browse files

pkgs/top-level/release-attrpaths-superset.nix: Add attrpath to error context

parent 629ab9db
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -150,10 +150,14 @@ let
          lib.pipe value [
            (builtins.mapAttrs (
              name: value:
              builtins.addErrorContext
                "while evaluating package set attribute path '${lib.showAttrPath (path ++ [ name ])}'"
                (
                  if excluded-attrnames-at-any-depth.${name} or false then
                    [ ]
                  else
                    (justAttrNames (path ++ [ name ]) value)
                )
            ))
            builtins.attrValues
            builtins.concatLists