Skip to content

passthru attributes are evaluated like normal attributes #198

@jsoo1

Description

@jsoo1

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions