Download Latest Version Snapshot release 2025-06-13 source code.tar.gz (230.1 kB)
Email in envelope

Get an email when there's a new version of nil

Home / 2025-06-13
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-06-13 1.3 kB
Snapshot release 2025-06-13 source code.tar.gz 2025-06-13 230.1 kB
Snapshot release 2025-06-13 source code.zip 2025-06-13 301.7 kB
Totals: 3 Items   533.1 kB 0

Features

  • nixfmt (nixfmt-rfc-style) is now used by default if no formatter is set, as it's becoming the official formatter for nixpkgs.

See: https://github.com/NixOS/rfcs/pull/166

  • Support contextual keyword __curPos.

  • Support experimental |> and |< operators since Nix 2.24 (#155).

See: https://github.com/NixOS/nix/blob/2.24.0/doc/manual/src/language/operators.md#pipe-operators

  • --deny-warnings flags for nil diagnostics (#157).

  • Multiple files support for nil diagnostics (#126).

  • New assist remove_unused_binding (#159).

  • { foo, bar }: { foo = 1; } => { foo }: { foo = 1; }

  • let foo = 1; in { } => let in { }

  • Assist pack_bindings now supports converting implicit attrset into explicit nested one.

  • { foo.bar = 1; } => { foo = { bar = 1; }; }

Fixes

  • Reword and simplify labels of assists, so it's easier to get what is does.

  • Compatibility with latest Nix and Nixpkgs.

  • Compatibility with flakes containing relative subflakes.

Internal

  • The main flake.nix is simplified to only has nixpkgs dependency.

devShells are moved to ./dev/flake.nix subflake.

  • Bump MSRV to 1.77

  • Bump various dependencies.

  • Documentation tweaks.

Source: README.md, updated 2025-06-13