Skip to content

Find appropriate location to place addition in top-level attr set #5

@jonringer

Description

@jonringer

Would be nice that instead of just printing the attr addition line, that nix-template will just add the attr name at an appropriate location within the file.

The steps would roughly be:

  • remove all comments,
  • split file on paragraphs,
  • then find location
  • insert new package reference

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