Unverified Commit a94dbc93 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by GitHub
Browse files

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

parents 2dc744e2 205299ea
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -151,10 +151,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