I have a few build products that we make like this:
let res = nixos { ... }; in
res.system.overrideAttrs (o: { passthru = (o.passthru or { }) // res; })
Which results in errors like this with nix-eval-jobs
error: value is a set while a string was expected
at /nix/store/.../nixos/default.nix:38:3:
37|
38| system = eval.config.system.build.toplevel;
| ^
39|
But nix-instantiate handles this fine.
Does nix-eval-jobs need to skip passthru attrs?