Skip to content

Create augeas lexical rules for editing nix expression #165

Closed

Description

@offlinehacker

Wouldn't it be awesome if you could edit nix expressions using augeas API, then it would be possible to update some derivations automatically if they pass tests and don't break any other package.

Has anybody done something like this before? Is something like this even sane and possible? Is there any lexical description of nix expression that could assist me in creation of augeas rules?

Activity

  1. domenkozar commented on Dec 13, 2013

    @domenkozar
    Member

    I guess it's easier to generate nix expressions from templates and include them.

  2. offlinehacker commented on Dec 13, 2013

    @offlinehacker
    ContributorAuthor

    Well yes, but not for all cases, and it's not clean, then you have a
    dependancy.
    On Dec 13, 2013 6:34 PM, "Domen Kožar" [email protected] wrote:

    I guess it's easier to generate nix expressions from templates and include
    them.

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/165#issuecomment-30527598
    .

  3. edolstra commented on Nov 28, 2019

    @edolstra
    Member

    Closing on account of age, also not clear whether this is really a good idea.

  4. added a commit that references this issue on Jan 1, 2024
  5. added a commit that references this issue on Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions