jonringer / nix-template

Make creating nix expressions easy
Creative Commons Zero v1.0 Universal
206 stars 8 forks source link

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

Open jonringer opened 3 years ago

jonringer commented 3 years ago

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: