Skip to content

Support anonymous functions and unknown files #3

@giomf

Description

@giomf

A: Anonymous function are used in the option definition:
modules/aspects/definition.nix, via option den.aspects.zagreus.includes.\"[definition 2-entry 1]\".<function body>.<function body>.includes.\"[definition 1-entry 8]\".<function body>.nixos.
At least we get the source and module path to create a meaningful node.

B: Unknown file are used in path definition:
<unknown-file>, via option den.aspects.zagreus.__functor.<function body>.<function body>.__functor.<function body>.<function body>.includes.\"[definition 1-entry 3]\".<function body>.includes.\"[definition 1-entry 8]\".<function body>.nixos.
In this case we have no source neither a module path which makes it impossible to create a node and use it in our graph. Using <unknown-file> as source and path will result in one node with many edges that are incorrect. Maybe we can use the key attribute to distinguish between these unknown nodes?

This could be because of Unify

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions