Skip to content

v0.3.4 flake-edit

Choose a tag to compare

@a-kenji a-kenji released this 18 Mar 21:06
· 167 commits to main since this release

This version fixes a few edge cases.
Notably the follow subcommand accepts a --transitive flag that will also add and follow transitive dependencies.

follow

follow_input

follow --transitive

follow_transitive

treefmt-nix

The follow subcommand has also been added as a formatter in the treefmt-nix project.
And can be used through:

programs.flake-edit.enable = true;

This will make treefmt automatically manage your flakes inputs and deduplicate them, as well as remove stale follows inputs.

What's Changed

  • feat(config): Make config flag global by @a-kenji in #428
  • ci: Move to upstream nix-installer action by @a-kenji in #432
  • fix: update ParseError import path for rnix 0.13.0 by @a-kenji in #439
  • fix: Append new inputs at the end by @a-kenji in #460
  • fix: Remove toplevel whitespace by @a-kenji in #461
  • feat: Use replace_with for natural root propagation by @a-kenji in #462
  • outputs: Fix whitespace in trailing slashes by @a-kenji in #463
  • walk: Don't copy whitespace verbatim by @a-kenji in #464
  • inputs: try to preserve grouping by @a-kenji in #465
  • outputs: fix insertion index for @-binding patterns by @a-kenji in #466
  • outputs: support leading commata by @a-kenji in #467
  • validate: support multiple top-level inputs attr sets by @a-kenji in #468
  • inputs: Fix duplicated blank line by @a-kenji in #469
  • outputs: Fix remove on inputs@{ ... } binding pattern by @a-kenji in #471
  • walk: support flat toplevel follows by @a-kenji in #472
  • change: correctly split on dots by @a-kenji in #473
  • outputs: support multi-line output style by @a-kenji in #478
  • inputs: detect and inherit multi-line attrset style for new inputs by @a-kenji in #479
  • outputs: adjust for NODE_PAT_ENTRY for trailing comma detection by @a-kenji in #480
  • pin: properly respect --lock-file by @a-kenji in #484
  • follow: normalize quoted follow attributes by @a-kenji in #485
  • inputs: fix deeply nested inputs by @a-kenji in #486
  • follow: add --transitive flag by @a-kenji in #494

Full Changelog: v0.3.3...v0.3.4