nix-community / nix-eval-jobs

Parallel nix evaluator with a streamable json output [maintainers @Mic92, @adisbladis]
GNU General Public License v3.0
154 stars 30 forks source link

`--flake` fails if the `outputs` contain a `__functor` #134

Closed nrdxp closed 1 year ago

nrdxp commented 2 years ago

This command always fails on a flake whos outputs contains a __functor attribute. The error is a type where target is said to be a function and should be an attribute-set, even if the flake uri points to a valid attribute-set.

Mic92 commented 2 years ago

Does nix build handle this properly?

nrdxp commented 2 years ago

yes, iirc there used to be a similar issue with Nix but it has since been fixed.

Mic92 commented 2 years ago

Ok, if you can point to the fix, I can apply this here as well.

blaggacao commented 2 years ago

https://github.com/NixOS/nix/pull/6404 :smile:

nrdxp commented 2 years ago

https://github.com/NixOS/nix/pull/6404